summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-01-29 19:50:48 -0500
committerMichael Sevakis <jethead71@rockbox.org>2017-01-29 19:53:49 -0500
commit324ad2483aa8c64c7c4d38e00f190d3a72c16d78 (patch)
treebe0fe7724ffaa8176544ae6a709755fbe3f99d5b
parent2220a4b695f2f5ac9fe212de4bcfa5365318136f (diff)
downloadrockbox-324ad24.tar.gz
rockbox-324ad24.tar.bz2
rockbox-324ad24.zip
i.MX31: Restore screen clearing in DVFS/DPTC debug screen
Somewhere along the line the screen stopped being cleared prior to writing new text on each frame, which left visible bits of previously-displayed text when it changed. Change-Id: I344e03c234daa77f4e64ed89281c40db887e4498
-rw-r--r--firmware/target/arm/imx31/debug-imx31.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/debug-imx31.c b/firmware/target/arm/imx31/debug-imx31.c
index ff44f234df..cffa3fa483 100644
--- a/firmware/target/arm/imx31/debug-imx31.c
+++ b/firmware/target/arm/imx31/debug-imx31.c
@@ -260,7 +260,6 @@ bool __dbg_dvfs_dptc(void)
unsigned long ltw[4];
bool ltwassert[4];
- lcd_clear_display();
lcd_setfont(FONT_SYSFIXED);
dvfs_mask = dvfs_level_mask();
@@ -275,6 +274,8 @@ bool __dbg_dvfs_dptc(void)
int button = button_get_w_tmo(HZ/10);
+ lcd_clear_display();
+
if (dvfs_wp < 0)
strcpy(buf, "Auto");
else