mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 17:05:52 +00:00
stm32: implement halt and reset
This commit is contained in:
@@ -23,6 +23,13 @@ public:
|
||||
}
|
||||
|
||||
void reboot() override {
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
void powerOff() override {
|
||||
HAL_PWREx_DisableInternalWakeUpLine();
|
||||
__disable_irq();
|
||||
HAL_PWREx_EnterSHUTDOWNMode();
|
||||
}
|
||||
|
||||
#if defined(P_LORA_TX_LED)
|
||||
|
||||
Reference in New Issue
Block a user