Better handling reboot
This commit is contained in:
committed by
Malte Langermann
parent
3c56683c88
commit
50774cfca3
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user