mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Move colors from ram to master config. Initialise colors only when
config is reset to defaults.
This commit is contained in:
parent
79ea1ac088
commit
545980c14a
9 changed files with 26 additions and 18 deletions
|
@ -53,7 +53,11 @@ typedef struct ledConfig_s {
|
|||
|
||||
extern uint8_t ledCount;
|
||||
|
||||
#define CONFIGURABLE_COLOR_COUNT 16
|
||||
|
||||
|
||||
bool parseLedStripConfig(uint8_t ledIndex, const char *config);
|
||||
void updateLedStrip(void);
|
||||
void applyDefaultColors(hsvColor_t *colors, uint8_t colorCount);
|
||||
void applyDefaultLedStripConfig(ledConfig_t *ledConfig);
|
||||
void generateLedConfig(uint8_t ledIndex, char *ledConfigBuffer, size_t bufferSize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue