altos: Oops. Was only filling out part of the TeleMetrum ADC record
authorKeith Packard <keithp@keithp.com>
Mon, 9 Dec 2013 05:08:36 +0000 (21:08 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 9 Dec 2013 05:08:36 +0000 (21:08 -0800)
commitdd91a5d5069ff940e07b8817a934ee65d4e8e235
tree418184ad1f1035edb35f6be73e9589e72550e468
parentc1711890c002fe359bd6c3fdf4092b35d464c6d9
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>
src/cc1111/ao_adc.c