Copter: minor change to ger_rangefinder_height_interpolated

This commit is contained in:
MattKear 2024-10-16 18:30:32 +01:00
parent d5337c3c93
commit 2f78872785
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ private:
AP_SurfaceDistance rangefinder_up_state {ROTATION_PITCH_90, inertial_nav, 1U};
// helper function to get inertially interpolated rangefinder height.
bool get_rangefinder_height_interpolated_cm(int32_t& ret) const;
bool get_rangefinder_height_interpolated_cm(int32_t& ret);
#if AP_RANGEFINDER_ENABLED
class SurfaceTracking {

View File

@ -68,7 +68,7 @@ void Copter::update_rangefinder_terrain_offset()
}
// helper function to get inertially interpolated rangefinder height.
bool Copter::get_rangefinder_height_interpolated_cm(int32_t& ret) const
bool Copter::get_rangefinder_height_interpolated_cm(int32_t& ret)
{
#if AP_RANGEFINDER_ENABLED
return rangefinder_state.get_rangefinder_height_interpolated_cm(ret);