FIX: AngleRateSmooth array to small to hold YAW axis
This commit is contained in:
parent
86459a77ed
commit
2ed6ee1e39
|
@ -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…
Reference in New Issue