projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dea51c
)
altos/stm32l0: Remove some unused code in ao_timer.c
author
Keith Packard
<keithp@keithp.com>
Tue, 23 Jun 2020 23:21:26 +0000
(16:21 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 8 Aug 2020 03:30:11 +0000
(20:30 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm32l0/ao_timer.c
patch
|
blob
|
history
diff --git
a/src/stm32l0/ao_timer.c
b/src/stm32l0/ao_timer.c
index 3b77afc0d8b397d3b71e873c539c93df0fcf657f..d2e581469f57c20b89ac593020820bd0681e98a1 100644
(file)
--- 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;