Plane: remove pointless override of send_simstate

This is dangling after removing HIL stuff
This commit is contained in:
Peter Barker 2021-08-06 14:34:29 +10:00 committed by Andrew Tridgell
parent a1ecd706b7
commit 5dab6b7275
2 changed files with 1 additions and 10 deletions

View File

@ -245,14 +245,6 @@ float GCS_MAVLINK_Plane::vfr_hud_climbrate() const
return AP::baro().get_climb_rate();
}
// report simulator state
void GCS_MAVLINK_Plane::send_simstate() const
{
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
GCS_MAVLINK::send_simstate();
#endif
}
void GCS_MAVLINK_Plane::send_wind() const
{
const Vector3f wind = AP::ahrs().wind_estimate();
@ -1409,4 +1401,4 @@ int8_t GCS_MAVLINK_Plane::high_latency_air_temperature() const
}
return air_temperature;
}
#endif // HAL_HIGH_LATENCY2_ENABLED
#endif // HAL_HIGH_LATENCY2_ENABLED

View File

@ -29,7 +29,6 @@ protected:
void send_aoa_ssa();
void send_attitude() const override;
void send_simstate() const override;
void send_wind() const;
bool persist_streamrates() const override { return true; }