diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-03-15 18:47:23 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-03-15 18:47:23 +0100 |
commit | e07b22f27e4fb23355d96e840252753be8b2ba39 (patch) | |
tree | 188e427f0bf1a29465346f8bcbacbf3b76db849b /firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h | |
parent | 9caffa8bf7a2f1fc06b70eb0015c4f089a1173af (diff) | |
download | rockbox-e07b22f27e4fb23355d96e840252753be8b2ba39.tar.gz rockbox-e07b22f27e4fb23355d96e840252753be8b2ba39.zip |
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
Diffstat (limited to 'firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h')
-rw-r--r-- | firmware/target/arm/imx233/sansa-fuzeplus/adc-target.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
21 | #ifndef _ADC_TARGET_H_ | 21 | #ifndef _ADC_TARGET_H_ |
22 | #define _ADC_TARGET_H_ | 22 | #define _ADC_TARGET_H_ |
23 | 23 | ||
24 | #define NUM_ADC_CHANNELS 4 | 24 | #define NUM_ADC_CHANNELS 5 |
25 | 25 | ||
26 | #define ADC_BATTERY 0 | 26 | #define ADC_BATTERY 0 |
27 | #define ADC_DIE_TEMP 1 | 27 | #define ADC_DIE_TEMP 1 |
28 | #define ADC_VDDIO 2 | 28 | #define ADC_VDDIO 2 |
29 | #define ADC_5V 3 | 29 | #define ADC_5V 3 |
30 | #define ADC_CH2 4 | ||
30 | 31 | ||
31 | #endif | 32 | #endif |