diff --git a/libraries/AP_TECS/AP_TECS.cpp b/libraries/AP_TECS/AP_TECS.cpp index c87aeb385a..d5c281ad40 100644 --- a/libraries/AP_TECS/AP_TECS.cpp +++ b/libraries/AP_TECS/AP_TECS.cpp @@ -252,7 +252,7 @@ const AP_Param::GroupInfo AP_TECS::var_info[] = { * */ -void AP_TECS::update_50hz(float hgt_afe) +void AP_TECS::update_50hz(void) { // Implement third order complementary filter for height and height rate // estimted height rate = _climb_rate diff --git a/libraries/AP_TECS/AP_TECS.h b/libraries/AP_TECS/AP_TECS.h index 70bfe81319..242d9caeb1 100644 --- a/libraries/AP_TECS/AP_TECS.h +++ b/libraries/AP_TECS/AP_TECS.h @@ -39,7 +39,7 @@ public: // Update of the estimated height and height rate internal state // Update of the inertial speed rate internal state // Should be called at 50Hz or greater - void update_50hz(float hgt_afe); + void update_50hz(void); // Update the control loop calculations void update_pitch_throttle(int32_t hgt_dem_cm,