1
0
Fork 0
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:
Thorsten Laux 2019-08-02 17:30:22 +02:00
parent d033a8dc76
commit e66ab2d8fe

View file

@ -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)) {