Skip to content

Commit

Permalink
Made support new GUI for 480x320, some things cleaned up and fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
strijar committed Apr 4, 2022
1 parent 649c237 commit df27d5d
Show file tree
Hide file tree
Showing 13 changed files with 279 additions and 526 deletions.
8 changes: 4 additions & 4 deletions mchf-eclipse/drivers/audio/cw/cw_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,15 +1087,15 @@ void CwDecoder_WpmDisplayClearOrPrepare(bool prepare) {
ts.Layout->CW_DECODER_WPM.x,
ts.Layout->CW_DECODER_WPM.y,
" --",
White, sd.boxes_colour,
sd.txt_colour, Black,
4
);

UiLcdHy28_PrintText(
ts.Layout->CW_DECODER_WPM.x + 24,
ts.Layout->CW_DECODER_WPM.y,
"wpm",
White, sd.boxes_colour,
sd.txt_colour, Black,
4
);

Expand All @@ -1105,7 +1105,7 @@ void CwDecoder_WpmDisplayClearOrPrepare(bool prepare) {
ts.Layout->CW_DECODER_WPM.x,
ts.Layout->CW_DECODER_WPM.y,
8, SMALL_FONT_WIDTH * 6,
sd.boxes_colour
Black
);
}
}
Expand All @@ -1122,7 +1122,7 @@ void CwDecoder_WpmDisplayUpdate(bool force_update) {
ts.Layout->CW_DECODER_WPM.x,
ts.Layout->CW_DECODER_WPM.y,
str,
White, sd.boxes_colour,
sd.txt_colour, Black,
4
);
}
Expand Down
Loading

0 comments on commit df27d5d

Please sign in to comment.