1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00

fix fast ram variables

This commit is contained in:
Nicola De Pasquale 2020-01-19 14:59:18 +01:00
parent 54f46c9327
commit 31d08f1515

View file

@ -82,7 +82,7 @@ static FAST_RAM_ZERO_INIT float pidFrequency;
static FAST_RAM_ZERO_INIT uint8_t antiGravityMode;
static FAST_RAM_ZERO_INIT float antiGravityThrottleHpf;
static FAST_RAM_ZERO_INIT uint16_t itermAcceleratorGain;
static FAST_RAM float antiGravityOsdCutoff = 0.0f;
static FAST_RAM_ZERO_INIT float antiGravityOsdCutoff;
static FAST_RAM_ZERO_INIT bool antiGravityEnabled;
static FAST_RAM_ZERO_INIT bool zeroThrottleItermReset;
@ -242,7 +242,7 @@ static void pidSetTargetLooptime(uint32_t pidLooptime)
#endif
}
static FAST_RAM float itermAccelerator = 0.0f;
static FAST_RAM_ZERO_INIT float itermAccelerator;
void pidSetItermAccelerator(float newItermAccelerator)
{