summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/l23_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/layer1/l23_api.c')
-rw-r--r--src/target/firmware/layer1/l23_api.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c
index 40d0e584..17026212 100644
--- a/src/target/firmware/layer1/l23_api.c
+++ b/src/target/firmware/layer1/l23_api.c
@@ -676,8 +676,13 @@ static void l1ctl_display_req(struct msgb *msg)
printf("DISPLAY (%d) %s\n", dr->y, dr->text);
if (dr->clear)
fb_clear();
- fb_setfg(FB_COLOR_GREEN);
- fb_setbg(FB_COLOR_WHITE);
+ if (dr->fg) {
+ fb_setfg(FB_COLOR_WHITE);
+ fb_setbg(FB_COLOR_BLUE);
+ } else {
+ fb_setfg(FB_COLOR_GREEN);
+ fb_setbg(FB_COLOR_WHITE);
+ }
fb_setfont(FB_FONT_C64);
fb_gotoxy(dr->x, dr->y);
fb_putstr(dr->text, 100);