mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Adding note regarding color index usage.
This commit is contained in:
parent
72eac8048a
commit
0e2b0ccafd
1 changed files with 5 additions and 0 deletions
|
@ -144,6 +144,11 @@ typedef struct modeColorIndexes_s {
|
||||||
} modeColorIndexes_t;
|
} modeColorIndexes_t;
|
||||||
|
|
||||||
|
|
||||||
|
// Note, the color index used for the mode colors below refer to the default colors.
|
||||||
|
// if the colors are reconfigured the index is still valid but the displayed color might
|
||||||
|
// be different.
|
||||||
|
// See colors[] and defaultColors[] and applyDefaultColors[]
|
||||||
|
|
||||||
static const modeColorIndexes_t orientationModeColors = {
|
static const modeColorIndexes_t orientationModeColors = {
|
||||||
COLOR_WHITE,
|
COLOR_WHITE,
|
||||||
COLOR_DARK_VIOLET,
|
COLOR_DARK_VIOLET,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue