From e45d519a4d45d9e78bf2ee3ec279e6618adca6f5 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 10 Aug 2015 14:50:32 +1000 Subject: [PATCH] Update work with WiFi credentials PR #16 --- examples/ota_basic/ota_basic.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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);