debug: add bare web server to LilyGO setup isolation
This commit is contained in:
1 parent
afc39984db
commit
33d68f4fa6
1 file changed
+7
-1
@@ -4151,6 +4151,11 @@ void setup() {
|
||||
Serial.print("AP IP: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
|
||||
heapCheckpoint("before:server.begin");
|
||||
server.begin();
|
||||
heapCheckpoint("after:server.begin");
|
||||
Serial.println("WebServer begin only; no routes registered");
|
||||
|
||||
heapCheckpoint("setup:end");
|
||||
}
|
||||
|
||||
@@ -4342,10 +4347,11 @@ void projectSetupDisabled() {
|
||||
}
|
||||
|
||||
void loop() {
|
||||
server.handleClient();
|
||||
#if DASHBOARD_UART_ENABLED
|
||||
pollDashboardUart();
|
||||
#endif
|
||||
delay(100);
|
||||
delay(2);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user