ArduCopter: split AP_HAL_SITL and AP_SIM_ENABLED

This commit is contained in:
Peter Barker 2021-10-26 16:31:21 +11:00 committed by Peter Barker
parent 0bcda3c57e
commit df6efc37ac
2 changed files with 2 additions and 2 deletions

View File

@ -426,7 +426,7 @@ const AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = {
// @Param: EXTRA1
// @DisplayName: Extra data type 1 stream rate to ground station
// @Description: Stream rate of ATTITUDE, SIMSTATE (SITL only), AHRS2 and PID_TUNING to ground station
// @Description: Stream rate of ATTITUDE, SIMSTATE (SIM only), AHRS2 and PID_TUNING to ground station
// @Units: Hz
// @Range: 0 50
// @Increment: 1

View File

@ -610,7 +610,7 @@ const AP_Param::Info Copter::var_info[] = {
GOBJECT(sprayer, "SPRAY_", AC_Sprayer),
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#if AP_SIM_ENABLED
// @Group: SIM_
// @Path: ../libraries/SITL/SITL.cpp
GOBJECT(sitl, "SIM_", SITL::SIM),