Re #3340: Watchdog still disabled on Horus, but use -DWATCHDOG_DISABLED=OFF to enable it. Radio currently resets if WDT is enabled, because external module functions are not yet implemented. After the radio is stable default for WATCHDOG_DISABLED will be set to OFF
This commit is contained in:
+7
-1
@@ -272,7 +272,13 @@ int cliMemoryInfo(const char ** argv)
|
||||
int cliReboot(const char ** argv)
|
||||
{
|
||||
#if !defined(SIMU)
|
||||
NVIC_SystemReset();
|
||||
if (!strcmp(argv[1], "wdt")) {
|
||||
// do a user requested watchdog test by pausing mixer thread
|
||||
pausePulses();
|
||||
}
|
||||
else {
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user