Merge pull request #661 from hexluthor/watchdog-enable
CC2538: Add WATCHDOG_CONF_ENABLE to optionally disable the watchdog timer
This commit is contained in:
commit
b864ec2b71
3 changed files with 13 additions and 0 deletions
|
@ -87,6 +87,7 @@ void
|
|||
watchdog_reboot(void)
|
||||
{
|
||||
INTERRUPTS_DISABLE();
|
||||
watchdog_start(); /* just in case the WDT hasn't been started yet */
|
||||
while(1);
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue