Skip to content

Commit

Permalink
AP_TECS: Remove hgt_afe from update_50hz()
Browse files Browse the repository at this point in the history
  • Loading branch information
WickedShell authored and tridge committed Apr 21, 2016
1 parent 475e731 commit fd51c3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/AP_TECS/AP_TECS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_TECS/AP_TECS.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AP_TECS : public AP_SpdHgtControl {
// 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,
Expand Down

0 comments on commit fd51c3c

Please sign in to comment.