mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Removed calls to (latching) 'feature()'.
This commit is contained in:
parent
f463dad8bd
commit
c99629bbf1
36 changed files with 432 additions and 145 deletions
|
@ -59,7 +59,7 @@ void rcModeUpdate(boxBitmask_t *newState)
|
|||
}
|
||||
|
||||
bool isAirmodeActive(void) {
|
||||
return (IS_RC_MODE_ACTIVE(BOXAIRMODE) || feature(FEATURE_AIRMODE));
|
||||
return (IS_RC_MODE_ACTIVE(BOXAIRMODE) || featureConfigured(FEATURE_AIRMODE));
|
||||
}
|
||||
|
||||
bool isRangeActive(uint8_t auxChannelIndex, const channelRange_t *range) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue