Merge branch 'master' into SDL-fun

This commit is contained in:
Jonathan Bennett
2025-08-08 20:44:13 -05:00
committed by GitHub
3 changed files with 9 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ lib_deps =
[device-ui_base]
lib_deps =
# renovate: datasource=git-refs depName=meshtastic/device-ui packageName=https://github.com/meshtastic/device-ui gitBranch=master
https://github.com/meshtastic/device-ui/archive/c75d545bf9e8d1fe20051c319f427f711113ff22.zip
https://github.com/meshtastic/device-ui/archive/d044c01e87583867011991a96f926e4e929d8a93.zip
; Common libs for environmental measurements in telemetry module
[environmental_base]

View File

@@ -724,10 +724,12 @@ void Power::reboot()
SPI.end();
Wire.end();
Serial1.end();
if (screen)
if (screen) {
delete screen;
screen = nullptr;
}
LOG_DEBUG("final reboot!");
reboot();
::reboot();
#elif defined(ARCH_STM32WL)
HAL_NVIC_SystemReset();
#else

View File

@@ -17,7 +17,10 @@ void initApiServer(int port)
}
void deInitApiServer()
{
delete apiPort;
if (apiPort) {
delete apiPort;
apiPort = nullptr;
}
}
WiFiServerAPI::WiFiServerAPI(WiFiClient &_client) : ServerAPI(_client)