Exit on watchdog reboot call

This commit is contained in:
dak664 2011-04-07 17:47:54 -04:00
parent 581d081ffe
commit 89741bd322

View File

@ -32,6 +32,7 @@
*/ */
#include "dev/watchdog.h" #include "dev/watchdog.h"
#include <stdlib.h>
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void void
@ -57,5 +58,7 @@ watchdog_stop(void)
void void
watchdog_reboot(void) watchdog_reboot(void)
{ {
// Death by watchdog.
exit(-1);
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/