summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-08-31 13:40:49 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-08-31 13:40:49 -0400
commita7ebd92ec8b519af14add583f1994f4c244ef2ab (patch)
treecf2d8afb994269676fb17a2d93af666b5a44f146
parent56b49b3074f4ad9b6774f7be81b35772733b15a0 (diff)
downloadrockbox-a7ebd92ec8b519af14add583f1994f4c244ef2ab.tar.gz
rockbox-a7ebd92ec8b519af14add583f1994f4c244ef2ab.zip
jz4760: use SYSFONT in the hw info debug screen, and restore old font
Change-Id: I0c2df20a8c87f7a5bdf25d59904d32806171a544
-rw-r--r--firmware/target/mips/ingenic_jz47xx/debug-jz4760.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c
index 105d3fa690..301f72a12e 100644
--- a/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/debug-jz4760.c
@@ -233,7 +233,7 @@ bool dbg_hw_info(void)
233#endif 233#endif
234 struct tm *cur_time; 234 struct tm *cur_time;
235 235
236 lcd_setfont(FONT_UI); 236 lcd_setfont(FONT_SYSFIXED);
237 while(btn ^ BUTTON_POWER) 237 while(btn ^ BUTTON_POWER)
238 { 238 {
239 lcd_clear_display(); 239 lcd_clear_display();
@@ -259,6 +259,7 @@ bool dbg_hw_info(void)
259 lcd_update(); 259 lcd_update();
260 sleep(HZ/16); 260 sleep(HZ/16);
261 } 261 }
262 lcd_setfont(FONT_UI);
262 return true; 263 return true;
263} 264}
264#endif 265#endif