Browse Source

ArduCopter: split AP_HAL_SITL and AP_SIM_ENABLED

apm_2208
Peter Barker 3 years ago committed by Peter Barker
parent
commit
df6efc37ac
  1. 2
      ArduCopter/GCS_Mavlink.cpp
  2. 2
      ArduCopter/Parameters.cpp

2
ArduCopter/GCS_Mavlink.cpp

@ -426,7 +426,7 @@ const AP_Param::GroupInfo GCS_MAVLINK_Parameters::var_info[] = { @@ -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

2
ArduCopter/Parameters.cpp

@ -610,7 +610,7 @@ const AP_Param::Info Copter::var_info[] = { @@ -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),

Loading…
Cancel
Save