mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
ifdef static var
This commit is contained in:
parent
d033a8dc76
commit
e66ab2d8fe
1 changed files with 2 additions and 0 deletions
|
@ -485,7 +485,9 @@ static void calculateThrottleAndCurrentMotorEndpoints(timeUs_t currentTimeUs)
|
|||
static uint16_t rcThrottlePrevious = 0; // Store the last throttle direction for deadband transitions
|
||||
static timeUs_t reversalTimeUs = 0; // time when motors last reversed in 3D mode
|
||||
static float motorRangeMinIncrease = 0;
|
||||
#ifdef USE_DYN_IDLE
|
||||
static float oldMinRps;
|
||||
#endif
|
||||
float currentThrottleInputRange = 0;
|
||||
|
||||
if (featureIsEnabled(FEATURE_3D)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue