1
0
Fork 0
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:
Michael Keller 2016-08-18 12:12:46 +12:00
commit 17df76e63b
9 changed files with 829 additions and 585 deletions

View file

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