altos/lpc: Pull ADC data from the correct registers
authorKeith Packard <keithp@keithp.com>
Mon, 20 May 2013 03:07:52 +0000 (20:07 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 20 May 2013 03:39:18 +0000 (20:39 -0700)
commitd51c9fda3478f205e4bcdf1b7bf21eb1e0a516bc
tree47244c49f505ba711af16e1f434027e2884096b8
parent6343bd774f542a4f915cf1fca2053d03e93bf2c3
altos/lpc: Pull ADC data from the correct registers

Was just stepping through register space arbitrarily, which would have
worked for EasyMini, but might have failed later if the ADC pin usage
wasn't consecutive.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_adc_lpc.c