This removes all of the support for the base 100Hz timer from the
system, saving space when not needed
Signed-off-by: Keith Packard <keithp@keithp.com>
#include "ao.h"
#include <ao_task.h>
+#ifndef HAS_TICK
+#define HAS_TICK 1
+#endif
+
+#if HAS_TICK
volatile AO_TICK_TYPE ao_tick_count;
AO_TICK_TYPE
volatile __data uint8_t ao_data_count;
#endif
-void
-ao_debug_out(char c);
-
-
void stm_tim6_isr(void)
{
if (stm_tim6.sr & (1 << STM_TIM67_SR_UIF)) {
(1 << STM_TIM67_CR1_CEN));
}
+#endif
+
void
ao_clock_init(void)
{