projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: Add construction for remaining primitive array types to JSON
[fw/altos]
/
src
/
drivers
/
ao_event.h
diff --git
a/src/drivers/ao_event.h
b/src/drivers/ao_event.h
index ed9a743329a49dc2cda65fa3b55b38b8fb225f9a..ea89da23c07cef3598c4159c5792fae4d376cbda 100644
(file)
--- a/
src/drivers/ao_event.h
+++ b/
src/drivers/ao_event.h
@@
-29,9
+29,12
@@
struct ao_event {
int32_t value;
};
-uint8_t
+void
ao_event_get(struct ao_event *ev);
+uint8_t
+ao_event_get_for(struct ao_event *ev, uint16_t timeout);
+
void
ao_event_put_isr(uint8_t type, uint8_t unit, int32_t value);