Skip to content

Commit

Permalink
network watchdog should try to reconnect to default network
Browse files Browse the repository at this point in the history
  • Loading branch information
st0ff3r committed Nov 12, 2017
1 parent 808d634 commit d12e8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/watchdog.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ ICACHE_FLASH_ATTR void static wifi_reconnect_timer_func(void *arg) {
#endif // AP
led_stop_pattern(); // DEBUG
set_my_auto_connect(true);
wifi_station_connect();
wifi_default();
wifi_start_scan();
#ifdef DEBUG
os_printf("watchdog restarted wifi and started wifi scanner\n");
Expand Down

0 comments on commit d12e8c3

Please sign in to comment.