summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod/adc-target.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-07-24 17:32:50 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-07-24 17:32:50 +0000
commit0157c624180a27c8109c93d182ed360920d43909 (patch)
tree769756b734e5bd386d64049134dea53981fa6149 /firmware/target/arm/ipod/adc-target.h
parent10a1e8a609d5c8ffdb74cdc75fada47acb998bc9 (diff)
downloadrockbox-0157c624180a27c8109c93d182ed360920d43909.tar.gz
rockbox-0157c624180a27c8109c93d182ed360920d43909.tar.bz2
rockbox-0157c624180a27c8109c93d182ed360920d43909.zip
ipod nano 1g: enable readout of battery current through ADC channel 4066_ISTAT
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30204 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod/adc-target.h')
-rw-r--r--firmware/target/arm/ipod/adc-target.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ipod/adc-target.h b/firmware/target/arm/ipod/adc-target.h
index 708febac9d..6fa887708e 100644
--- a/firmware/target/arm/ipod/adc-target.h
+++ b/firmware/target/arm/ipod/adc-target.h
@@ -24,7 +24,7 @@
#define ADC_BATTERY 0
#define ADC_ACCESSORY 1
#define ADC_UNREG_POWER ADC_BATTERY
-#ifdef IPOD_VIDEO
+#if defined(IPOD_VIDEO) || defined(IPOD_NANO)
#define ADC_4066_ISTAT 2
#define NUM_ADC_CHANNELS 3
#else