X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao_timer.c;h=cb6255d2f4c83f72719b1a30f959a42231c3ea69;hp=7a81f32e5e75f1f00e4bef107b868285be3623da;hb=e14f07bfdb8824fc7ed6df1129c66ee39ffd6d54;hpb=823f4f92de0c1f8dd7a644a8e56ffe9822bee6e2 diff --git a/ao_timer.c b/ao_timer.c index 7a81f32e..cb6255d2 100644 --- 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)); }