restart on watchdog
This commit is contained in:
@ -37,6 +37,8 @@ void watchdogHandler(void *handle) {
|
||||
} else {
|
||||
coloredMsg(LOG_RED, true, "No watchdog received in between, booting the system ...");
|
||||
// boot the system
|
||||
HAL_NVIC_SystemReset();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Submodule cube/pubsubc updated: 1ac129a027...9e22556d36
Reference in New Issue
Block a user