FIX: AngleRateSmooth array to small to hold YAW axis

This commit is contained in:
blckmn 2016-06-23 20:36:09 +10:00
parent 86459a77ed
commit 2ed6ee1e39
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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;