projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea1989
)
altos: Declare ao_delay_until API in ao.h
author
Keith Packard
<keithp@keithp.com>
Sat, 20 Jun 2020 22:15:35 +0000
(15:15 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 8 Aug 2020 03:30:11 +0000
(20:30 -0700)
This uses AO_TICK_TYPE which isn't defined until we get to ao.h
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao.h
patch
|
blob
|
history
diff --git
a/src/kernel/ao.h
b/src/kernel/ao.h
index be663775e91fab86eb119d7690a67fb961c7e1ff..9bbd561eedf854467057c30ef32aade8668b9af9 100644
(file)
--- a/
src/kernel/ao.h
+++ b/
src/kernel/ao.h
@@
-126,6
+126,9
@@
ao_time_ns(void);
void
ao_delay(AO_TICK_TYPE ticks);
+void
+ao_delay_until(AO_TICK_TYPE target);
+
/* Set the ADC interval */
void
ao_timer_set_adc_interval(uint8_t interval);