1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Merge pull request #9999 from mikeller/fix_rpm_filter

Fixed missing RPM filter update.
This commit is contained in:
Michael Keller 2020-07-11 23:46:49 +12:00 committed by GitHub
commit 99f9a34462
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -47,6 +47,7 @@
#include "flight/gps_rescue.h"
#include "flight/imu.h"
#include "flight/mixer.h"
#include "flight/rpm_filter.h"
#include "flight/interpolated_setpoint.h"
#include "io/gps.h"
@ -871,6 +872,10 @@ void FAST_CODE pidController(const pidProfile_t *pidProfile, timeUs_t currentTim
rotateItermAndAxisError();
#ifdef USE_RPM_FILTER
rpmFilterUpdate();
#endif
#ifdef USE_INTERPOLATED_SP
bool newRcFrame = false;
if (lastFrameNumber != getRcFrameNumber()) {