projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
initial skeleton of CortexELF support
[fw/altos]
/
src
/
drivers
/
ao_button.c
diff --git
a/src/drivers/ao_button.c
b/src/drivers/ao_button.c
index 1be788a0c98b040b0c4dc0f211c29640cedb6927..725ac45a762334a6bdbf5a303d1bb028200081e6 100644
(file)
--- a/
src/drivers/ao_button.c
+++ b/
src/drivers/ao_button.c
@@
-93,6
+93,12
@@
_ao_button_init(uint8_t b)
}
+uint8_t
+ao_button_get(uint8_t b)
+{
+ return ao_button_state[b].value;
+}
+
static void
ao_button_isr(void)
{