summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-04-15 21:33:32 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-04-15 21:33:32 +0000
commita24f4b7a8053c2c6efb6f4c0669dc33181f130b3 (patch)
tree6c08260275d07ac0eca94a2e4b73c6a9e3b72c1f /apps/debug_menu.c
parenta987b7ef2dab83758667a8267be9c755989d5f64 (diff)
FS#8898 - Prefix AS3514 registers with AS3514_
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17130 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index e167b1f329..55a4dfd14d 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1220,7 +1220,7 @@ bool dbg_ports(void)
lcd_puts(0, line++, buf);
snprintf(buf, sizeof(buf), "ADC_VBAT: %4d", adc_read(ADC_VBAT));
lcd_puts(0, line++, buf);
- snprintf(buf, sizeof(buf), "CHARGER: %02X/%02X", i2c_readbyte(AS3514_I2C_ADDR, CHRGR), i2c_readbyte(AS3514_I2C_ADDR, IRQ_ENRD0));
+ snprintf(buf, sizeof(buf), "CHARGER: %02X/%02X", i2c_readbyte(AS3514_I2C_ADDR, AS3514_CHARGER), i2c_readbyte(AS3514_I2C_ADDR, AS3514_IRQ_ENRD0));
lcd_puts(0, line++, buf);
#endif
lcd_update();