Replay: move AP_Airspeed to AP_Vehicle

This commit is contained in:
Josh Henderson 2021-10-04 06:17:04 -04:00 committed by Andrew Tridgell
parent 5549c03e65
commit 2f7e07069f
2 changed files with 3 additions and 1 deletions

View File

@ -58,9 +58,11 @@ const AP_Param::Info ReplayVehicle::var_info[] = {
// @Path: ../libraries/AP_AHRS/AP_AHRS.cpp
GOBJECT(ahrs, "AHRS_", AP_AHRS),
#if AP_AIRSPEED_ENABLED
// @Group: ARSPD_
// @Path: ../libraries/AP_Airspeed/AP_Airspeed.cpp
GOBJECT(airspeed, "ARSP_", AP_Airspeed),
#endif
// @Group: EK2_
// @Path: ../libraries/AP_NavEKF2/AP_NavEKF2.cpp

View File

@ -46,7 +46,7 @@ public:
virtual uint8_t get_mode() const override { return 0; }
AP_Vehicle::FixedWing aparm;
AP_Airspeed airspeed;
AP_Int32 unused; // logging is magic for Replay; this is unused
struct LogStructure log_structure[256] = {
};