1
0
Fork 0
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:
Dominic Clifton 2014-08-01 00:18:37 +01:00
parent fc93be394f
commit 125f6d1450
16 changed files with 84 additions and 9 deletions

View file

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