mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 03:30:01 +00:00
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 New Issue
Block a user