summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cc1111/ao_timer.c')
-rw-r--r--src/cc1111/ao_timer.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cc1111/ao_timer.c b/src/cc1111/ao_timer.c
index 602f98c8..a64b5aba 100644
--- a/src/cc1111/ao_timer.c
+++ b/src/cc1111/ao_timer.c
@@ -24,16 +24,6 @@ uint16_t ao_time(void) __critical
return ao_tick_count;
}
-static __xdata uint8_t ao_forever;
-
-void
-ao_delay(uint16_t ticks)
-{
- ao_alarm(ticks);
- ao_sleep(&ao_forever);
- ao_clear_alarm();
-}
-
#define T1_CLOCK_DIVISOR 8 /* 24e6/8 = 3e6 */
#define T1_SAMPLE_TIME 30000 /* 3e6/30000 = 100 */