From: Keith Packard Date: Tue, 23 Jun 2020 23:21:26 +0000 (-0700) Subject: altos/stm32l0: Remove some unused code in ao_timer.c X-Git-Tag: 1.9.5~1^2~39 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=d2b750a04bbaf428a38fd95891a7ce1cc7d3d2f3 altos/stm32l0: Remove some unused code in ao_timer.c Signed-off-by: Keith Packard --- diff --git a/src/stm32l0/ao_timer.c b/src/stm32l0/ao_timer.c index 3b77afc0..d2e58146 100644 --- a/src/stm32l0/ao_timer.c +++ b/src/stm32l0/ao_timer.c @@ -35,6 +35,7 @@ ao_time(void) return ao_tick_count; } +#if 0 uint64_t ao_time_ns(void) { @@ -50,6 +51,7 @@ ao_time_ns(void) return (uint64_t) after * (1000000000ULL / AO_HERTZ) + (uint64_t) cvr * (1000000000ULL / AO_SYSTICK); } +#endif #if AO_DATA_ALL volatile uint8_t ao_data_interval = 1;