summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-08-21 21:57:00 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-08-21 21:57:00 +0000
commitf94c5c6b3b59884b63911714c67224a6005ce257 (patch)
tree75b40798d50afb6006119fd59604b381af0b3e46 /apps
parentc5eec4cae219bb373af436ca9b43763b572d692e (diff)
downloadrockbox-f94c5c6b3b59884b63911714c67224a6005ce257.tar.gz
rockbox-f94c5c6b3b59884b63911714c67224a6005ce257.zip
H10: make all ADC values fit on the debug screen of the 5GB
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14416 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 064c7114a0..5ae6769b4d 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1204,13 +1204,11 @@ bool dbg_ports(void)
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
line++;
- snprintf(buf, sizeof(buf), "ADC_BATTERY: %02x", adc_read(ADC_BATTERY));
+ snprintf(buf, sizeof(buf), "BATT: %02x UNK1: %02x", adc_read(ADC_BATTERY),
+ adc_read(ADC_UNKNOWN_1));
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "ADC_UNKNOWN_1: %02x", adc_read(ADC_UNKNOWN_1));
- lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "ADC_REMOTE: %02x", adc_read(ADC_REMOTE));
- lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "ADC_SCROLLPAD: %02x", adc_read(ADC_SCROLLPAD));
+ snprintf(buf, sizeof(buf), "REM: %02x PAD: %02x", adc_read(ADC_REMOTE),
+ adc_read(ADC_SCROLLPAD));
lcd_puts(0, line++, buf);
#elif defined(SANSA_E200)
line++;