From 2cc9fa159237548735e10c7be52b7a899e172079 Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Sun, 11 Dec 2016 20:40:01 -0800 Subject: [PATCH] fix mdns txt record bug --- esp-link/cgiwifi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp-link/cgiwifi.c b/esp-link/cgiwifi.c index edb74de..987cb89 100644 --- a/esp-link/cgiwifi.c +++ b/esp-link/cgiwifi.c @@ -123,7 +123,7 @@ void ICACHE_FLASH_ATTR wifiAddStateChangeCb(WifiStateChangeCb cb) { static struct mdns_info *mdns_info; // See https://github.com/arduino/Arduino/blob/master/arduino-core/src/cc/arduino/packages/discoverers/NetworkDiscovery.java#L155-L168 -static char* mdns_txt0 = "ssh_upload=no"; +static char* mdns_txt = "ssh_upload=no"; void ICACHE_FLASH_ATTR wifiStartMDNS(struct ip_addr ip) { if (flashConfig.mdns_enable) {