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 <stdlib.h>
/*---------------------------------------------------------------------------*/
void
@ -57,5 +58,7 @@ watchdog_stop(void)
void
watchdog_reboot(void)
{
// Death by watchdog.
exit(-1);
}
/*---------------------------------------------------------------------------*/