mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
CJMCU - Allow various features to be compiled out to support.
This commit is contained in:
parent
fc93be394f
commit
125f6d1450
16 changed files with 84 additions and 9 deletions
|
@ -263,7 +263,9 @@ void annexCode(void)
|
|||
updateWarningLed(currentTime);
|
||||
}
|
||||
|
||||
#ifdef TELEMETRY
|
||||
checkTelemetryState();
|
||||
#endif
|
||||
|
||||
#ifdef LEDRING
|
||||
if (feature(FEATURE_LED_RING)) {
|
||||
|
@ -642,11 +644,15 @@ void loop(void)
|
|||
writeMotors();
|
||||
}
|
||||
|
||||
#ifdef TELEMETRY
|
||||
if (!cliMode && feature(FEATURE_TELEMETRY)) {
|
||||
handleTelemetry();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef LED_STRIP
|
||||
if (feature(FEATURE_LED_STRIP)) {
|
||||
updateLedStrip();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue