mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 07:15:18 +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
|
@ -420,7 +420,7 @@ extern "C" {
|
|||
bool telemetryIsSensorEnabled(sensor_e) {return true; }
|
||||
bool sensors(uint32_t ) { return true; }
|
||||
|
||||
bool airmodeIsEnabled(void) {return airMode; }
|
||||
bool isAirmodeEnabled(void) {return airMode; }
|
||||
|
||||
bool isBatteryVoltageConfigured(void) { return true; }
|
||||
bool isAmperageConfigured(void) { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue