From 7e21cbe3ca701ad05194aaa776f68dd49d2c02ca Mon Sep 17 00:00:00 2001 From: Jindra Dolezy Date: Tue, 7 Apr 2015 22:01:45 +0200 Subject: [PATCH] Reverting accidentally commited disabling of GPIO0 low reset --- user/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/user/io.c b/user/io.c index 59e3c8b..a342dbd 100644 --- a/user/io.c +++ b/user/io.c @@ -31,10 +31,10 @@ static void ICACHE_FLASH_ATTR resetBtnTimerCb(void *arg) { resetCnt++; } else { if (resetCnt>=6) { //3 sec pressed - //wifi_station_disconnect(); - //wifi_set_opmode(0x3); //reset to AP+STA mode + wifi_station_disconnect(); + wifi_set_opmode(0x3); //reset to AP+STA mode os_printf("Reset to AP mode. Restarting system...\n"); - //system_restart(); + system_restart(); } resetCnt=0; }