1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

First cut of programmatically orientation lights using an LED strip

configuration that defines each LED's functions, orientation and
position in a grid.
This commit is contained in:
Dominic Clifton 2014-07-02 20:40:26 +01:00
parent af2f9a2655
commit de04acd7e1
2 changed files with 150 additions and 119 deletions

View file

@ -87,6 +87,7 @@ void beepcodeInit(failsafe_t *initialFailsafe);
void gpsInit(serialConfig_t *serialConfig, gpsConfig_t *initialGpsConfig, gpsProfile_t *initialGpsProfile, pidProfile_t *pidProfile);
bool sensorsAutodetect(sensorAlignmentConfig_t *sensorAlignmentConfig, uint16_t gyroLpf, uint8_t accHardwareToUse, int16_t magDeclinationFromConfig);
void imuInit(void);
void ledStripInit(void);
void loop(void);
@ -226,6 +227,7 @@ void init(void)
if (feature(FEATURE_LED_STRIP)) {
ws2811LedStripInit();
ledStripInit();
}
if (feature(FEATURE_TELEMETRY))