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
This commit is contained in:
Heikki Hannikainen 2002-08-20 08:43:03 +00:00
parent 6f4cd6e16a
commit bd32dee3b9

View file

@ -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: