mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Fixed missing RPM filter update.
This commit is contained in:
parent
f6b1c6a539
commit
99c3cc9b0b
2 changed files with 5 additions and 1 deletions
|
@ -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"
|
||||
|
@ -872,6 +873,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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue