This makes it possible to reflash the board without needing to disable
the watchdog.
Signed-off-by: Keith Packard <keithp@keithp.com>
#define HAS_BEEP 0
#define HAS_TASK 0
#define HAS_ECHO 0
#define HAS_BEEP 0
#define HAS_TASK 0
#define HAS_ECHO 0
#define PACKET_HAS_SLAVE 0
#define PACKET_HAS_SLAVE 0
+#if HAS_TICK
+ ao_timer_init();
+#endif
+
+#ifdef AO_FLASH_LOADER_INIT
+ AO_FLASH_LOADER_INIT;
+#endif
ao_flash_task();
return 0;
}
ao_flash_task();
return 0;
}
ao_wakeup((void *) &ao_data_count);
#endif
}
ao_wakeup((void *) &ao_data_count);
#endif
}
+#endif
+#ifdef AO_TIMER_HOOK
+ AO_TIMER_HOOK;