mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 06:47:42 +00:00
ADSB RX text color bugfix
ADSB RX entries now "age" after 10 and 20 seconds
This commit is contained in:
@@ -104,10 +104,16 @@ struct Color {
|
||||
static constexpr Color cyan() {
|
||||
return { 0, 255, 255 };
|
||||
}
|
||||
static constexpr Color dark_cyan() {
|
||||
return { 0, 127, 127 };
|
||||
}
|
||||
|
||||
static constexpr Color magenta() {
|
||||
return { 255, 0, 255 };
|
||||
}
|
||||
static constexpr Color dark_magenta() {
|
||||
return { 127, 0, 127 };
|
||||
}
|
||||
|
||||
static constexpr Color white() {
|
||||
return { 255, 255, 255 };
|
||||
@@ -128,7 +134,7 @@ struct Color {
|
||||
}
|
||||
};
|
||||
|
||||
extern Color term_colors[8];
|
||||
extern Color term_colors[16];
|
||||
|
||||
struct ColorRGB888 {
|
||||
uint8_t r;
|
||||
|
Reference in New Issue
Block a user