mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AntennaTracker: fix for HAL_SITL rename
This commit is contained in:
parent
eda187c75a
commit
429efc4d6c
@ -76,7 +76,7 @@
|
|||||||
#include "GCS.h"
|
#include "GCS.h"
|
||||||
|
|
||||||
#include <AP_HAL_AVR.h>
|
#include <AP_HAL_AVR.h>
|
||||||
#include <AP_HAL_AVR_SITL.h>
|
#include <AP_HAL_SITL.h>
|
||||||
#include <AP_HAL_PX4.h>
|
#include <AP_HAL_PX4.h>
|
||||||
#include <AP_HAL_FLYMAPLE.h>
|
#include <AP_HAL_FLYMAPLE.h>
|
||||||
#include <AP_HAL_Linux.h>
|
#include <AP_HAL_Linux.h>
|
||||||
@ -138,7 +138,7 @@ AP_AHRS_NavEKF ahrs(ins, barometer, gps, rng);
|
|||||||
AP_AHRS_DCM ahrs(ins, barometer, gps);
|
AP_AHRS_DCM ahrs(ins, barometer, gps);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
SITL sitl;
|
SITL sitl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ static void NOINLINE send_nav_controller_output(mavlink_channel_t chan)
|
|||||||
// report simulator state
|
// report simulator state
|
||||||
static void NOINLINE send_simstate(mavlink_channel_t chan)
|
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);
|
sitl.simstate_send(chan);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -230,7 +230,7 @@ const AP_Param::Info var_info[] PROGMEM = {
|
|||||||
// @Path: ../libraries/AP_AHRS/AP_AHRS.cpp
|
// @Path: ../libraries/AP_AHRS/AP_AHRS.cpp
|
||||||
GOBJECT(ahrs, "AHRS_", AP_AHRS),
|
GOBJECT(ahrs, "AHRS_", AP_AHRS),
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
// @Group: SIM_
|
// @Group: SIM_
|
||||||
// @Path: ../libraries/SITL/SITL.cpp
|
// @Path: ../libraries/SITL/SITL.cpp
|
||||||
GOBJECT(sitl, "SIM_", SITL),
|
GOBJECT(sitl, "SIM_", SITL),
|
||||||
|
Loading…
Reference in New Issue
Block a user