diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-22 23:37:33 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-08-22 23:37:33 +0100 |
commit | 82b09144e9f3b0bd8e9f9a76a18f08f22e9eea8c (patch) | |
tree | ac50b9c5a329cbba6945daeb588a012611e8b39b /firmware/target/arm | |
parent | 762dde00fb5037e6256be72bced4ccc81385c74d (diff) |
imx233: add alarm value to debug menu
Hopefully this can help debugging alarm problems.
Change-Id: Id8c5603a6372744dfc62890443a37de2dd92a7c0
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/imx233/debug-imx233.c | 3 |
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) 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(); |