mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-19 17:22:59 +00:00
Refactoring to break out HTTP from WiFi
This commit is contained in:
12
src/main.cpp
12
src/main.cpp
@@ -42,6 +42,7 @@
|
||||
#include <OneButton.h>
|
||||
#include <Wire.h>
|
||||
#include "meshwifi/meshwifi.h"
|
||||
#include "meshwifi/meshhttp.h"
|
||||
// #include <driver/rtc_io.h>
|
||||
|
||||
#ifndef NO_ESP32
|
||||
@@ -426,6 +427,15 @@ void loop()
|
||||
// TODO: This should go into a thread handled by FreeRTOS.
|
||||
handleWebResponse();
|
||||
#endif
|
||||
|
||||
/*
|
||||
const char *wifiName = radioConfig.preferences.wifi_ssid;
|
||||
const char *wifiPsw = radioConfig.preferences.wifi_password;
|
||||
Serial.print("-------------------");
|
||||
Serial.print(wifiName);
|
||||
Serial.print(" ");
|
||||
Serial.println(wifiPsw);
|
||||
Serial.println("+++++++++++++++++++");
|
||||
Serial.println("");
|
||||
*/
|
||||
delay(msecstosleep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user