From 62c5f4fc1792ef8b293b676e675e511c4aa0a129 Mon Sep 17 00:00:00 2001 From: KatAst Date: Sat, 2 Jan 2016 14:09:54 +0100 Subject: [PATCH] Modified comments to match actions --- esp-link/cgiwifi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp-link/cgiwifi.c b/esp-link/cgiwifi.c index fac5a03..6ca78d8 100644 --- a/esp-link/cgiwifi.c +++ b/esp-link/cgiwifi.c @@ -679,7 +679,7 @@ int ICACHE_FLASH_ATTR cgiWiFiSetMode(HttpdConnData *connData) { wifi_set_opmode(next_mode&3); if (previous_mode == 2) { - // movint to STA-only mode from AP, so reset into STA+AP after a timeout if we don't get an IP address + // moving to STA or STA+AP mode from AP stconf.bssid_set = 0; wifi_station_set_config(&stconf); wifi_station_connect(); @@ -688,7 +688,7 @@ int ICACHE_FLASH_ATTR cgiWiFiSetMode(HttpdConnData *connData) { os_timer_arm(&resetTimer, RESET_TIMEOUT, 0); } if(previous_mode == 1){ - // moving to STA or STA+AP, so softap config call needed + // moving to AP or STA+AP, so softap config call needed wifi_softap_set_config(&apconf); } jsonHeader(connData, 200);