diff --git a/examples/ota_basic/ota_basic.c b/examples/ota_basic/ota_basic.c index 69a061f..23df052 100644 --- a/examples/ota_basic/ota_basic.c +++ b/examples/ota_basic/ota_basic.c @@ -11,14 +11,11 @@ #include "FreeRTOS.h" #include "task.h" #include "esp8266.h" +#include "ssid_config.h" #include "ota-tftp.h" #include "rboot-ota.h" -#if !defined(WIFI_SSID) || !defined(WIFI_PASS) -#error "Please define macros WIFI_SSID & WIFI_PASS (here, or better in a local.h file at root level or in program dir." -#endif - void user_init(void) { sdk_uart_div_modify(0, UART_CLK_FREQ / 115200);