mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
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:
@@ -66,8 +66,9 @@ static int32_t reconnectETH()
|
||||
syslog.enable();
|
||||
}
|
||||
|
||||
// initWebServer();
|
||||
#if !MESHTASTIC_EXCLUDE_SOCKETAPI
|
||||
initApiServer();
|
||||
#endif
|
||||
|
||||
ethStartupComplete = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user