projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/stm32f103-nucleo: Add boot loader
[fw/altos]
/
src
/
stm32l0
/
ao_timer.c
diff --git
a/src/stm32l0/ao_timer.c
b/src/stm32l0/ao_timer.c
index 89193333f5c32a138d2bd593ced54c2c04a1db1f..6d447fc96cc3324d0598ec71a21eb809153d3be9 100644
(file)
--- a/
src/stm32l0/ao_timer.c
+++ b/
src/stm32l0/ao_timer.c
@@
-64,7
+64,7
@@
void stm_systick_isr(void)
++ao_tick_count;
ao_task_check_alarm();
#if AO_DATA_ALL
- if (++ao_data_count == ao_data_interval) {
+ if (++ao_data_count == ao_data_interval
&& ao_data_interval
) {
ao_data_count = 0;
#if HAS_ADC
#if HAS_FAKE_FLIGHT