Update work with WiFi credentials

PR #16
This commit is contained in:
Angus Gratton 2015-08-10 14:50:32 +10:00
parent 64a1e5598b
commit 72670be012

View file

@ -11,14 +11,11 @@
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h" #include "task.h"
#include "esp8266.h" #include "esp8266.h"
#include "ssid_config.h"
#include "ota-tftp.h" #include "ota-tftp.h"
#include "rboot-ota.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) void user_init(void)
{ {
sdk_uart_div_modify(0, UART_CLK_FREQ / 115200); sdk_uart_div_modify(0, UART_CLK_FREQ / 115200);