summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeikki Hannikainen <hessuh@rockbox.org>2002-08-20 08:43:03 +0000
committerHeikki Hannikainen <hessuh@rockbox.org>2002-08-20 08:43:03 +0000
commitbd32dee3b9d7c8757a1dd86a5e1c976c0018b3b6 (patch)
treef10bef493f8b8fcf9d75e898aee9d4bea5e6687f
parent6f4cd6e16ad91ece20fc683a03f4e72cae7adea5 (diff)
Use correct offset (0x14 instead of 0x18) when clearing the RTC user RAM space
when F2 is pressed in RTC RAM viewer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1815 a1c6a512-1295-4272-9138-f99709370657
-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 252c3e20d5..3d27e630b8 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -325,7 +325,7 @@ void dbg_rtc(void)
case BUTTON_F2:
/* clear the user RAM space */
for (c = 0; c <= 43; c++)
- rtc_write(0x18 + c, 0);
+ rtc_write(0x14 + c, 0);
break;
case BUTTON_OFF:
case BUTTON_LEFT: