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:
parent
af2f9a2655
commit
de04acd7e1
2 changed files with 150 additions and 119 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue