diff --git a/examples/WiFiConfig_simple_test/WiFiConfig_simple_test.ino b/examples/WiFiConfig_simple_test/WiFiConfig_simple_test.ino index aebb5bc..76a9125 100644 --- a/examples/WiFiConfig_simple_test/WiFiConfig_simple_test.ino +++ b/examples/WiFiConfig_simple_test/WiFiConfig_simple_test.ino @@ -2,8 +2,8 @@ #include #include #include -#include "src/espnbns/espnbns.h" -#include "src/WiFiConfig/WiFiConfig.h" +#include +#include // Plati pro desticku Witty s modulem ESP-12E #define PIN_FORCE_CONFIG 4 @@ -16,7 +16,6 @@ ESP8266WebServer wwwserver(80); // webovy server String content; -NBNS nbns; // Netbios (xPablo.cz) static void handleRoot(void) { @@ -77,7 +76,7 @@ void ICACHE_FLASH_ATTR setup() if (strlen(WiFiDeviceName) > 0) { - nbns.begin(WiFiDeviceName); + NBNS.begin(WiFiDeviceName); ArduinoOTA.setHostname(WiFiDeviceName); } @@ -125,5 +124,4 @@ void loop() { wwwserver.handleClient(); // osetrujeme praci serveru ArduinoOTA.handle(); - nbns.poll(); }