From e07b22f27e4fb23355d96e840252753be8b2ba39 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 15 Mar 2012 18:47:23 +0100 Subject: fuze+: add unknown channel to debug menu imx233: always divide physical channels by two for wider range The Fuze+ OF monitors channel 2 but I'm unable to determine the meaning of it. Print the value on the debug menu so that people can have a look at it. Change-Id: I8a942febeafbce06014178abda12e38a16c26664 --- firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h') diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h b/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h index b7fa5edc86..e9c6f5d00e 100644 --- a/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h +++ b/firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h @@ -21,11 +21,12 @@ #ifndef _ADC_TARGET_H_ #define _ADC_TARGET_H_ -#define NUM_ADC_CHANNELS 4 +#define NUM_ADC_CHANNELS 5 #define ADC_BATTERY 0 #define ADC_DIE_TEMP 1 #define ADC_VDDIO 2 #define ADC_5V 3 +#define ADC_CH2 4 #endif -- cgit v1.2.3