Better handling reboot

This commit is contained in:
Richard Li
2025-01-24 19:00:12 +01:00
committed by Malte Langermann
parent 3c56683c88
commit 50774cfca3
-1
View File
@@ -221,7 +221,6 @@ void boardOff()
ledStripOff(); ledStripOff();
if (isChargerActive()) if (isChargerActive())
{ {
delay_ms(100); // Add a delay to wait for lcdOff
// RTC->BKP0R = SOFTRESET_REQUEST; // RTC->BKP0R = SOFTRESET_REQUEST;
NVIC_SystemReset(); NVIC_SystemReset();
} }