diff options
Diffstat (limited to 'src/ao_reboot.c')
-rw-r--r-- | src/ao_reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_reboot.c b/src/ao_reboot.c index 82ea32e0..8c47b893 100644 --- a/src/ao_reboot.c +++ b/src/ao_reboot.c @@ -23,6 +23,6 @@ void ao_reboot(void) { WDCTL = WDCTL_EN | WDCTL_MODE_WATCHDOG | WDCTL_INT_32768; - ao_sleep(AO_SEC_TO_TICKS(2)); + ao_delay(AO_SEC_TO_TICKS(2)); ao_panic(AO_PANIC_REBOOT); } |