From a24f4b7a8053c2c6efb6f4c0669dc33181f130b3 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Tue, 15 Apr 2008 21:33:32 +0000 Subject: FS#8898 - Prefix AS3514 registers with AS3514_ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17130 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/debug_menu.c') 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(); -- cgit v1.2.3