diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-16 15:24:21 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-16 15:24:21 -0700 |
commit | 90507d4f7ef77b0870a032b1d9809898c2924721 (patch) | |
tree | eb81d3868b3cfab198fb338bf1918e6dfc0843df /src/avr | |
parent | 184e2ff4790974733df57facdeeb96bfe692ab54 (diff) |
altos: Make ao_tick_count visible
Necessary to fetch it when interrupts are already disabled as we can't
call ao_time then.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr')
-rw-r--r-- | src/avr/ao_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/avr/ao_timer.c b/src/avr/ao_timer.c index eef14345..cd81b163 100644 --- a/src/avr/ao_timer.c +++ b/src/avr/ao_timer.c @@ -17,7 +17,7 @@ #include "ao.h" -static volatile __data uint16_t ao_tick_count; +volatile __data uint16_t ao_tick_count; uint16_t ao_time(void) { |