mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Refactor RPM Filter (#11765)
* Refactor RPM Filter * Refactor RPM Filter parameter group
This commit is contained in:
parent
9024bfcfd9
commit
931c982a3b
8 changed files with 194 additions and 171 deletions
|
@ -361,7 +361,7 @@ void updateArmingStatus(void)
|
|||
|
||||
#ifdef USE_RPM_FILTER
|
||||
// USE_RPM_FILTER will only be defined if USE_DSHOT and USE_DSHOT_TELEMETRY are defined
|
||||
// If the RPM filter is anabled and any motor isn't providing telemetry, then disable arming
|
||||
// If the RPM filter is enabled and any motor isn't providing telemetry, then disable arming
|
||||
if (isRpmFilterEnabled() && !isDshotTelemetryActive()) {
|
||||
setArmingDisabled(ARMING_DISABLED_RPMFILTER);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue