Add MESHTASTIC_EXCLUDE_SOCKETAPI (#5729)

MESHTASTIC_EXCLUDE_SOCKETAPI disables the API Server when set.

Co-authored-by: mverch67 <manuel.verch@gmx.de>
Co-authored-by: GUVWAF <thijs@havinga.eu>
This commit is contained in:
authored and GitHub committed 2025-01-03 09:01:10 +08:00
1 parent b41efc17ba
commit 9d710041c4
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -66,8 +66,9 @@ static int32_t reconnectETH()
syslog.enable();
}
// initWebServer();
#if !MESHTASTIC_EXCLUDE_SOCKETAPI
initApiServer();
#endif
ethStartupComplete = true;
}