diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-08 21:08:36 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-08 21:08:36 -0800 |
commit | dd91a5d5069ff940e07b8817a934ee65d4e8e235 (patch) | |
tree | 418184ad1f1035edb35f6be73e9589e72550e468 | |
parent | c1711890c002fe359bd6c3fdf4092b35d464c6d9 (diff) |
altos: Oops. Was only filling out part of the TeleMetrum ADC record
Because it's missing a return, we'd end up filling out one element of
the ADC record per interrupt, and rotating through which one was set,
hitting all of the even offsets within the struct. Yikes!
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/cc1111/ao_adc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cc1111/ao_adc.c b/src/cc1111/ao_adc.c index 15429677..1689ebef 100644 --- a/src/cc1111/ao_adc.c +++ b/src/cc1111/ao_adc.c @@ -85,6 +85,7 @@ ao_adc_isr(void) __interrupt 1 else #endif ADCCON3 = ADCCON3_EREF_VDD | ADCCON3_EDIV_512 | sequence; + return; } #endif |