@ -59,7 +59,7 @@ MODULES = user sbmp/library esphttpclient
EXTRA_INCDIR = include libesphttpd/include sbmp/library user esphttpclient
# libraries used in this project, mainly provided by the SDK
LIBS = c gcc hal phy pp net80211 wpa main lwip crypto
#ssl
#Add in esphttpd lib
@ -1594,7 +1594,7 @@ bool wifi_set_event_handler_cb(wifi_event_handler_cb_t cb);
typedef enum wps_type {
WPS_TYPE_DISABLE = 0,
WPS_TYPE_PBC,
WPS_TYPE_PBC, // Only this is supported
WPS_TYPE_PIN,
WPS_TYPE_DISPLAY,
WPS_TYPE_MAX,
@ -215,7 +215,7 @@ static void ICACHE_FLASH_ATTR reassTimerCb(void *arg) {
wifi_station_connect();
x=wifi_get_opmode();
connTryStatus=CONNTRY_WORKING;
if (x!=1) {
if (x != STATION_MODE) {
//Schedule disconnect/connect
os_timer_disarm(&resetTimer);
os_timer_setfn(&resetTimer, staResetTimerCb, NULL);