summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/debug-pp.c
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/debug-pp.c
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/debug-pp.c')
-rw-r--r--firmware/target/arm/debug-pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/debug-pp.c b/firmware/target/arm/debug-pp.c
index 7872db714d..5f252db417 100644
--- a/firmware/target/arm/debug-pp.c
+++ b/firmware/target/arm/debug-pp.c
@@ -124,7 +124,7 @@ bool dbg_ports(void)
#ifdef ADC_ACCESSORY
lcd_putsf(0, line++, "ACCESSORY: %d", adc_read(ADC_ACCESSORY));
#endif
-#ifdef IPOD_VIDEO
+#if defined(IPOD_VIDEO) || defined(IPOD_NANO)
lcd_putsf(0, line++, "4066_ISTAT: %d", adc_read(ADC_4066_ISTAT));
#endif