mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Merge branch 'master' into development
This commit is contained in:
commit
17df76e63b
9 changed files with 829 additions and 585 deletions
|
@ -326,13 +326,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue