summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-08-22 23:37:33 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-08-22 23:37:33 +0100
commit82b09144e9f3b0bd8e9f9a76a18f08f22e9eea8c (patch)
treeac50b9c5a329cbba6945daeb588a012611e8b39b
parent762dde00fb5037e6256be72bced4ccc81385c74d (diff)
downloadrockbox-82b09144e9f3b0bd8e9f9a76a18f08f22e9eea8c.tar.gz
rockbox-82b09144e9f3b0bd8e9f9a76a18f08f22e9eea8c.zip
imx233: add alarm value to debug menu
Hopefully this can help debugging alarm problems. Change-Id: Id8c5603a6372744dfc62890443a37de2dd92a7c0
-rw-r--r--firmware/target/arm/imx233/debug-imx233.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/debug-imx233.c b/firmware/target/arm/imx233/debug-imx233.c
index b38fc7ee2a..53b0c28a28 100644
--- a/firmware/target/arm/imx233/debug-imx233.c
+++ b/firmware/target/arm/imx233/debug-imx233.c
@@ -533,8 +533,9 @@ bool dbg_hw_info_rtc(void)
533 struct imx233_rtc_info_t info = imx233_rtc_get_info(); 533 struct imx233_rtc_info_t info = imx233_rtc_get_info();
534 534
535 lcd_putsf(0, 0, "seconds: %lu", info.seconds); 535 lcd_putsf(0, 0, "seconds: %lu", info.seconds);
536 lcd_putsf(0, 1, "alarm: %lu", info.alarm);
536 for(int i = 0; i < 6; i++) 537 for(int i = 0; i < 6; i++)
537 lcd_putsf(0, i + 1, "persist%d: 0x%lx", i, info.persistent[i]); 538 lcd_putsf(0, i + 2, "persist%d: 0x%lx", i, info.persistent[i]);
538 539
539 lcd_update(); 540 lcd_update();
540 yield(); 541 yield();