diff --git a/AntennaTracker/AntennaTracker.pde b/AntennaTracker/AntennaTracker.pde index ee4860b054..ad34c1961d 100644 --- a/AntennaTracker/AntennaTracker.pde +++ b/AntennaTracker/AntennaTracker.pde @@ -76,7 +76,7 @@ #include "GCS.h" #include -#include +#include #include #include #include @@ -138,7 +138,7 @@ AP_AHRS_NavEKF ahrs(ins, barometer, gps, rng); AP_AHRS_DCM ahrs(ins, barometer, gps); #endif -#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL +#if CONFIG_HAL_BOARD == HAL_BOARD_SITL SITL sitl; #endif diff --git a/AntennaTracker/GCS_Mavlink.pde b/AntennaTracker/GCS_Mavlink.pde index 03175a94f0..db9d40aaf1 100644 --- a/AntennaTracker/GCS_Mavlink.pde +++ b/AntennaTracker/GCS_Mavlink.pde @@ -158,7 +158,7 @@ static void NOINLINE send_nav_controller_output(mavlink_channel_t chan) // report simulator state static void NOINLINE send_simstate(mavlink_channel_t chan) { -#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL +#if CONFIG_HAL_BOARD == HAL_BOARD_SITL sitl.simstate_send(chan); #endif } diff --git a/AntennaTracker/Parameters.pde b/AntennaTracker/Parameters.pde index d403f04e18..ea5b698e27 100644 --- a/AntennaTracker/Parameters.pde +++ b/AntennaTracker/Parameters.pde @@ -230,7 +230,7 @@ const AP_Param::Info var_info[] PROGMEM = { // @Path: ../libraries/AP_AHRS/AP_AHRS.cpp GOBJECT(ahrs, "AHRS_", AP_AHRS), -#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL +#if CONFIG_HAL_BOARD == HAL_BOARD_SITL // @Group: SIM_ // @Path: ../libraries/SITL/SITL.cpp GOBJECT(sitl, "SIM_", SITL),