From dd91a5d5069ff940e07b8817a934ee65d4e8e235 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 8 Dec 2013 21:08:36 -0800 Subject: [PATCH 1/1] 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 --- src/cc1111/ao_adc.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2