From 82b09144e9f3b0bd8e9f9a76a18f08f22e9eea8c Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Mon, 22 Aug 2016 23:37:33 +0100 Subject: imx233: add alarm value to debug menu Hopefully this can help debugging alarm problems. Change-Id: Id8c5603a6372744dfc62890443a37de2dd92a7c0 --- firmware/target/arm/imx233/debug-imx233.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/target/arm') 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) struct imx233_rtc_info_t info = imx233_rtc_get_info(); lcd_putsf(0, 0, "seconds: %lu", info.seconds); + lcd_putsf(0, 1, "alarm: %lu", info.alarm); 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(); yield(); -- cgit v1.2.3