mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
imx233: add alarm value to debug menu
Hopefully this can help debugging alarm problems. Change-Id: Id8c5603a6372744dfc62890443a37de2dd92a7c0
This commit is contained in:
parent
762dde00fb
commit
82b09144e9
1 changed files with 2 additions and 1 deletions
|
@ -533,8 +533,9 @@ bool dbg_hw_info_rtc(void)
|
||||||
struct imx233_rtc_info_t info = imx233_rtc_get_info();
|
struct imx233_rtc_info_t info = imx233_rtc_get_info();
|
||||||
|
|
||||||
lcd_putsf(0, 0, "seconds: %lu", info.seconds);
|
lcd_putsf(0, 0, "seconds: %lu", info.seconds);
|
||||||
|
lcd_putsf(0, 1, "alarm: %lu", info.alarm);
|
||||||
for(int i = 0; i < 6; i++)
|
for(int i = 0; i < 6; i++)
|
||||||
lcd_putsf(0, i + 1, "persist%d: 0x%lx", i, info.persistent[i]);
|
lcd_putsf(0, i + 2, "persist%d: 0x%lx", i, info.persistent[i]);
|
||||||
|
|
||||||
lcd_update();
|
lcd_update();
|
||||||
yield();
|
yield();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue