Closed
Description
Hardware:
Board: ESP32 Dev Module
Core Installation/update date: commit ec3a97b (dec 15)
IDE name: Eclipse / Sloeber 4.3 plugin
Computer OS: Windows 10
Description:
On compilation of the ESPmDNS component the following code results in an error
error: 'esp32' was not declared in this scope
because the macro ARDUINO_VARIANT is replaced by esp32 and not by the string "esp32"
void MDNSResponder::enableArduino(uint16_t port, bool auth){
mdns_txt_item_t arduTxtData[4] = {
{(char*)"board" ,(char*)ARDUINO_VARIANT},
{(char*)"tcp_check" ,(char*)"no"},
{(char*)"ssh_upload" ,(char*)"no"},
{(char*)"auth_upload" ,(char*)"no"}
};