1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Re-name ezDisarm variables and tidying up (#13835)

* just re-naming variables and tidying up

* change name to landing_disarm_threshold
This commit is contained in:
ctzsnooze 2024-08-21 17:01:49 +10:00 committed by GitHub
parent 8feb741e17
commit dd73ce4dd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 14 additions and 15 deletions

View file

@ -89,8 +89,7 @@ extern "C" {
bool isAirmodeActivated(void) { return simulatedAirmodeEnabled; }
float getRcDeflectionAbs(int axis) { return fabsf(simulatedRcDeflection[axis]); }
// for ezLanding auto-disarm
// note that there is no test to check that this code works.
// used by ezDisarm auto-disarm code
float getMaxRcDeflectionAbs() { return fabsf(simulatedMaxRcDeflectionAbs); }
float mixerGetRcThrottle() { return fabsf(simulatedMixerGetRcThrottle); }