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:
parent
54f46c9327
commit
31d08f1515
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ static FAST_RAM_ZERO_INIT float pidFrequency;
|
||||||
static FAST_RAM_ZERO_INIT uint8_t antiGravityMode;
|
static FAST_RAM_ZERO_INIT uint8_t antiGravityMode;
|
||||||
static FAST_RAM_ZERO_INIT float antiGravityThrottleHpf;
|
static FAST_RAM_ZERO_INIT float antiGravityThrottleHpf;
|
||||||
static FAST_RAM_ZERO_INIT uint16_t itermAcceleratorGain;
|
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 antiGravityEnabled;
|
||||||
static FAST_RAM_ZERO_INIT bool zeroThrottleItermReset;
|
static FAST_RAM_ZERO_INIT bool zeroThrottleItermReset;
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ static void pidSetTargetLooptime(uint32_t pidLooptime)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static FAST_RAM float itermAccelerator = 0.0f;
|
static FAST_RAM_ZERO_INIT float itermAccelerator;
|
||||||
|
|
||||||
void pidSetItermAccelerator(float newItermAccelerator)
|
void pidSetItermAccelerator(float newItermAccelerator)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue