mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
FIX: AngleRateSmooth array to small to hold YAW axis
This commit is contained in:
parent
86459a77ed
commit
2ed6ee1e39
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@
|
|||
extern uint8_t motorCount;
|
||||
uint32_t targetPidLooptime;
|
||||
extern float errorLimiter;
|
||||
extern float angleRate[3], angleRateSmooth[2];
|
||||
extern float angleRate[3], angleRateSmooth[3];
|
||||
|
||||
int16_t axisPID[3];
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ extern uint8_t PIDweight[3];
|
|||
uint16_t filteredCycleTime;
|
||||
static bool isRXDataNew;
|
||||
static bool armingCalibrationWasInitialised;
|
||||
float angleRate[3], angleRateSmooth[2];
|
||||
float angleRate[3], angleRateSmooth[3];
|
||||
|
||||
extern pidControllerFuncPtr pid_controller;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue