master
Ondřej Hruška 8 years ago
parent 80f8bea634
commit 492234fbb3
  1. 2
      esp_iot_sdk_v1.5.2/include/user_interface.h
  2. 2
      libesphttpd/util/cgiwifi.c

@ -1594,7 +1594,7 @@ bool wifi_set_event_handler_cb(wifi_event_handler_cb_t cb);
typedef enum wps_type { typedef enum wps_type {
WPS_TYPE_DISABLE = 0, WPS_TYPE_DISABLE = 0,
WPS_TYPE_PBC, WPS_TYPE_PBC, // Only this is supported
WPS_TYPE_PIN, WPS_TYPE_PIN,
WPS_TYPE_DISPLAY, WPS_TYPE_DISPLAY,
WPS_TYPE_MAX, WPS_TYPE_MAX,

@ -215,7 +215,7 @@ static void ICACHE_FLASH_ATTR reassTimerCb(void *arg) {
wifi_station_connect(); wifi_station_connect();
x=wifi_get_opmode(); x=wifi_get_opmode();
connTryStatus=CONNTRY_WORKING; connTryStatus=CONNTRY_WORKING;
if (x!=1) { if (x != STATION_MODE) {
//Schedule disconnect/connect //Schedule disconnect/connect
os_timer_disarm(&resetTimer); os_timer_disarm(&resetTimer);
os_timer_setfn(&resetTimer, staResetTimerCb, NULL); os_timer_setfn(&resetTimer, staResetTimerCb, NULL);

Loading…
Cancel
Save