projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add A/D sampler
[fw/altos]
/
ao_timer.c
diff --git
a/ao_timer.c
b/ao_timer.c
index 7a81f32e5e75f1f00e4bef107b868285be3623da..cb6255d2f4c83f72719b1a30f959a42231c3ea69 100644
(file)
--- a/
ao_timer.c
+++ b/
ao_timer.c
@@
-22,6
+22,7
@@
volatile __data uint16_t ao_time;
void ao_timer_isr(void) interrupt 9
{
++ao_time;
+ ao_adc_poll();
ao_wakeup(DATA_TO_XDATA(&ao_time));
}