ADSB RX text color bugfix

ADSB RX entries now "age" after 10 and 20 seconds
This commit is contained in:
furrtek
2017-08-27 21:03:17 +01:00
parent a08ee18e3b
commit 3aae333974
7 changed files with 85 additions and 26 deletions

View File

@@ -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;