Undo watchdog changes
This commit is contained in:
parent
2b0091246d
commit
5a6578b99f
@ -109,7 +109,6 @@ lock_config(uint32_t status)
|
||||
void
|
||||
watchdog_init(void)
|
||||
{
|
||||
return;
|
||||
WatchdogReloadSet(CONTIKI_WATCHDOG_TIMER_TOP);
|
||||
lock_config(LOCK_REGISTERS_UNLOCKED);
|
||||
}
|
||||
@ -120,7 +119,6 @@ watchdog_init(void)
|
||||
void
|
||||
watchdog_start(void)
|
||||
{
|
||||
return;
|
||||
uint32_t lock_status = unlock_config();
|
||||
|
||||
watchdog_periodic();
|
||||
@ -135,7 +133,6 @@ watchdog_start(void)
|
||||
void
|
||||
watchdog_periodic(void)
|
||||
{
|
||||
return;
|
||||
WatchdogReloadSet(CONTIKI_WATCHDOG_TIMER_TOP);
|
||||
WatchdogIntClear();
|
||||
}
|
||||
@ -146,7 +143,6 @@ watchdog_periodic(void)
|
||||
void
|
||||
watchdog_stop(void)
|
||||
{
|
||||
return;
|
||||
uint32_t lock_status = unlock_config();
|
||||
|
||||
WatchdogResetDisable();
|
||||
@ -160,7 +156,6 @@ watchdog_stop(void)
|
||||
void
|
||||
watchdog_reboot(void)
|
||||
{
|
||||
return;
|
||||
watchdog_start();
|
||||
while(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user