diff --git a/src/main/config/config.h b/src/main/config/config.h index 49b2d04bf5..aa218e53a8 100644 --- a/src/main/config/config.h +++ b/src/main/config/config.h @@ -82,8 +82,6 @@ bool isConfigDirty(void); uint8_t getCurrentPidProfileIndex(void); void changePidProfile(uint8_t pidProfileIndex); void changePidProfileFromCellCount(uint8_t cellCount); -struct pidProfile_s; -void resetPidProfile(struct pidProfile_s *profile); uint8_t getCurrentControlRateProfileIndex(void); void changeControlRateProfile(uint8_t profileIndex); diff --git a/src/main/flight/pid.h b/src/main/flight/pid.h index 253b877242..7c97cbf5a6 100644 --- a/src/main/flight/pid.h +++ b/src/main/flight/pid.h @@ -403,6 +403,8 @@ extern uint32_t targetPidLooptime; extern float throttleBoost; extern pt1Filter_t throttleLpf; +void resetPidProfile(pidProfile_t *profile); + void pidResetIterm(void); void pidStabilisationState(pidStabilisationState_e pidControllerState); void pidSetItermAccelerator(float newItermAccelerator);