mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 03:50:02 +03:00
Use wasThrottleRaised in place of isAirmodeActivated where appropriate (#13968)
* use wasThrottleRaised in place of isAirmodeActivated where airmode isn't really needed * fix unit test * fix typo * remove unnecessary check * final changes and clarificartions * Update src/main/flight/mixer.c Co-authored-by: Ivan Efimov <gendalf44@yandex.ru> --------- Co-authored-by: Mark Haslinghuis <mark@numloq.nl> Co-authored-by: Ivan Efimov <gendalf44@yandex.ru>
This commit is contained in:
parent
58fc8bbbb8
commit
fc52b6b4ff
13 changed files with 42 additions and 37 deletions
|
@ -142,7 +142,7 @@ typedef struct modeActivationProfile_s {
|
|||
bool IS_RC_MODE_ACTIVE(boxId_e boxId);
|
||||
void rcModeUpdate(const boxBitmask_t *newState);
|
||||
|
||||
bool airmodeIsEnabled(void);
|
||||
bool isAirmodeEnabled(void);
|
||||
|
||||
bool isRangeActive(uint8_t auxChannelIndex, const channelRange_t *range);
|
||||
void updateActivatedModes(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue