Reverting accidentally commited disabling of GPIO0 low reset

pull/30/head
Jindra Dolezy 10 years ago
parent d419bdb4f7
commit 7e21cbe3ca
  1. 6
      user/io.c

@ -31,10 +31,10 @@ static void ICACHE_FLASH_ATTR resetBtnTimerCb(void *arg) {
resetCnt++; resetCnt++;
} else { } else {
if (resetCnt>=6) { //3 sec pressed if (resetCnt>=6) { //3 sec pressed
//wifi_station_disconnect(); wifi_station_disconnect();
//wifi_set_opmode(0x3); //reset to AP+STA mode wifi_set_opmode(0x3); //reset to AP+STA mode
os_printf("Reset to AP mode. Restarting system...\n"); os_printf("Reset to AP mode. Restarting system...\n");
//system_restart(); system_restart();
} }
resetCnt=0; resetCnt=0;
} }

Loading…
Cancel
Save