fix mdns txt record bug

pull/236/head
Thorsten von Eicken 8 years ago
parent 85ab6843fe
commit 2cc9fa1592
No known key found for this signature in database
GPG Key ID: C7F972A59D834B46
  1. 2
      esp-link/cgiwifi.c

@ -123,7 +123,7 @@ void ICACHE_FLASH_ATTR wifiAddStateChangeCb(WifiStateChangeCb cb) {
static struct mdns_info *mdns_info; 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 // 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) { void ICACHE_FLASH_ATTR wifiStartMDNS(struct ip_addr ip) {
if (flashConfig.mdns_enable) { if (flashConfig.mdns_enable) {

Loading…
Cancel
Save