Added default value display for CLI dump / diff.
This commit is contained in:
parent
eb83ffa58c
commit
fe0a8d602e
|
@ -394,13 +394,11 @@ bool parseLedStripConfig(int ledIndex, const char *config)
|
|||
return true;
|
||||
}
|
||||
|
||||
void generateLedConfig(int ledIndex, char *ledConfigBuffer, size_t bufferSize)
|
||||
void generateLedConfig(ledConfig_t *ledConfig, char *ledConfigBuffer, size_t bufferSize)
|
||||
{
|
||||
char directions[LED_DIRECTION_COUNT + 1];
|
||||
char baseFunctionOverlays[LED_OVERLAY_COUNT + 2];
|
||||
|
||||
ledConfig_t *ledConfig = &masterConfig.ledConfigs[ledIndex];
|
||||
|
||||
memset(ledConfigBuffer, 0, bufferSize);
|
||||
|
||||
char *dptr = directions;
|
||||
|
|
|
@ -160,7 +160,7 @@ PG_DECLARE(specialColorIndexes_t, specialColors);
|
|||
bool parseColor(int index, const char *colorConfig);
|
||||
|
||||
bool parseLedStripConfig(int ledIndex, const char *config);
|
||||
void generateLedConfig(int ledIndex, char *ledConfigBuffer, size_t bufferSize);
|
||||
void generateLedConfig(ledConfig_t *ledConfig, char *ledConfigBuffer, size_t bufferSize);
|
||||
void reevaluateLedConfig(void);
|
||||
|
||||
void ledStripInit(ledConfig_t *ledConfigsToUse, hsvColor_t *colorsToUse, modeColorIndexes_t *modeColorsToUse, specialColorIndexes_t *specialColorsToUse);
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue