Exit on watchdog reboot call
This commit is contained in:
parent
581d081ffe
commit
89741bd322
|
@ -32,6 +32,7 @@
|
|||
*/
|
||||
|
||||
#include "dev/watchdog.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
|
@ -57,5 +58,7 @@ watchdog_stop(void)
|
|||
void
|
||||
watchdog_reboot(void)
|
||||
{
|
||||
// Death by watchdog.
|
||||
exit(-1);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Reference in a new issue