diff --git a/ArduCopter/Copter.h b/ArduCopter/Copter.h index c4b123777d..5e8a87970f 100644 --- a/ArduCopter/Copter.h +++ b/ArduCopter/Copter.h @@ -304,7 +304,7 @@ private: AP_AHRS_View *ahrs_view; #if CONFIG_HAL_BOARD == HAL_BOARD_SITL - SITL::SITL sitl; + SITL::SIM sitl; #endif // Arming/Disarming management class diff --git a/ArduCopter/Parameters.cpp b/ArduCopter/Parameters.cpp index d6eef8a068..8c5fc48945 100644 --- a/ArduCopter/Parameters.cpp +++ b/ArduCopter/Parameters.cpp @@ -624,7 +624,7 @@ const AP_Param::Info Copter::var_info[] = { #if CONFIG_HAL_BOARD == HAL_BOARD_SITL // @Group: SIM_ // @Path: ../libraries/SITL/SITL.cpp - GOBJECT(sitl, "SIM_", SITL::SITL), + GOBJECT(sitl, "SIM_", SITL::SIM), #endif // @Group: BARO