fix fast ram variables

This commit is contained in:
Nicola De Pasquale 2020-01-19 14:59:18 +01:00
parent 54f46c9327
commit 31d08f1515
1 changed files with 2 additions and 2 deletions

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