Final checkin of WiFi and basic HTTP server

This commit is contained in:
Jm Casler
2020-09-16 20:15:00 -07:00
parent c656a95a84
commit 493b25f23e
6 changed files with 32 additions and 23 deletions

View File

@@ -327,10 +327,8 @@ void setup()
}
#endif
#if WiFi_MODE
// Initialize Wifi
initWifi();
#endif
if (!rIf)
recordCriticalError(ErrNoRadio);
@@ -423,10 +421,8 @@ void loop()
// feel slow
msecstosleep = 10;
#if WiFi_MODE
// TODO: This should go into a thread handled by FreeRTOS.
handleWebResponse();
#endif
delay(msecstosleep);
}