summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx
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 /firmware/target/mips/ingenic_jz47xx
parent56b49b3074f4ad9b6774f7be81b35772733b15a0 (diff)
downloadrockbox-a7ebd92ec8b519af14add583f1994f4c244ef2ab.tar.gz
rockbox-a7ebd92ec8b519af14add583f1994f4c244ef2ab.tar.bz2
rockbox-a7ebd92ec8b519af14add583f1994f4c244ef2ab.zip
jz4760: use SYSFONT in the hw info debug screen, and restore old font
Change-Id: I0c2df20a8c87f7a5bdf25d59904d32806171a544
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-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)
#endif
struct tm *cur_time;
- lcd_setfont(FONT_UI);
+ lcd_setfont(FONT_SYSFIXED);
while(btn ^ BUTTON_POWER)
{
lcd_clear_display();
@@ -259,6 +259,7 @@ bool dbg_hw_info(void)
lcd_update();
sleep(HZ/16);
}
+ lcd_setfont(FONT_UI);
return true;
}
#endif