summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-03-15 18:47:23 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2012-03-15 18:47:23 +0100
commite07b22f27e4fb23355d96e840252753be8b2ba39 (patch)
tree188e427f0bf1a29465346f8bcbacbf3b76db849b /firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c
parent9caffa8bf7a2f1fc06b70eb0015c4f089a1173af (diff)
downloadrockbox-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-fuzeplus.c')
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c
index 78b88c9e85..7207e5f8a8 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/adc-fuzeplus.c
@@ -27,6 +27,7 @@ int imx233_adc_mapping[] =
27 [ADC_DIE_TEMP] = IMX233_ADC_DIE_TEMP, 27 [ADC_DIE_TEMP] = IMX233_ADC_DIE_TEMP,
28 [ADC_VDDIO] = IMX233_ADC_VDDIO, 28 [ADC_VDDIO] = IMX233_ADC_VDDIO,
29 [ADC_5V] = HW_LRADC_CHANNEL_5V, 29 [ADC_5V] = HW_LRADC_CHANNEL_5V,
30 [ADC_CH2] = HW_LRADC_CHANNEL(2),
30}; 31};
31 32
32const char *imx233_adc_channel_name[] = 33const char *imx233_adc_channel_name[] =
@@ -35,4 +36,5 @@ const char *imx233_adc_channel_name[] =
35 "Die temperature(°C)", 36 "Die temperature(°C)",
36 "VddIO", 37 "VddIO",
37 "Vdd5V", 38 "Vdd5V",
39 "Channel 2",
38}; 40};