mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-16 16:10:12 +00:00
ADSB RX text color bugfix
ADSB RX entries now "age" after 10 and 20 seconds
This commit is contained in:
@@ -51,8 +51,10 @@ int Painter::draw_string(Point p, const Font& font, const Color foreground,
|
||||
|
||||
for(const auto c : text) {
|
||||
if (escape) {
|
||||
pen = term_colors[c & 7];
|
||||
if (!c) pen = foreground;
|
||||
if (c <= 15)
|
||||
pen = term_colors[c & 15];
|
||||
else
|
||||
pen = foreground;
|
||||
escape = false;
|
||||
} else {
|
||||
if (c == '\x1B') {
|
||||
|
Reference in New Issue
Block a user