Mercurial > public > ostc4
diff Discovery/Src/tDebug.c @ 1035:5b913cdaa9dc Puls_Integration
Degub message logger:
Added functionality to handle logger view (in case it is enabled via compile switch) like a normal t7 custom view.
| author | Ideenmodellierer |
|---|---|
| date | Sat, 09 Aug 2025 16:55:20 +0200 |
| parents | 717f335cc5c9 |
| children |
line wrap: on
line diff
--- a/Discovery/Src/tDebug.c Thu Aug 07 20:18:52 2025 +0200 +++ b/Discovery/Src/tDebug.c Sat Aug 09 16:55:20 2025 +0200 @@ -58,9 +58,12 @@ void exitDebugMode(void) { - MX_Bluetooth_PowerOff(); - settingsGetPointer()->debugModeOnStart = 0; - tD_debugModeActive = 0; + if(tD_debugModeActive) + { + MX_Bluetooth_PowerOff(); + settingsGetPointer()->debugModeOnStart = 0; + tD_debugModeActive = 0; + } }
