mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Periph: add missing SITL includes
these are required for compilation when other things are introduced
This commit is contained in:
parent
b43f4f78a3
commit
c22794d078
@ -37,6 +37,9 @@
|
|||||||
#include "batt_balance.h"
|
#include "batt_balance.h"
|
||||||
#include "networking.h"
|
#include "networking.h"
|
||||||
#include "serial_options.h"
|
#include "serial_options.h"
|
||||||
|
#if AP_SIM_ENABLED
|
||||||
|
#include <SITL/SITL.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <AP_NMEA_Output/AP_NMEA_Output.h>
|
#include <AP_NMEA_Output/AP_NMEA_Output.h>
|
||||||
#if HAL_NMEA_OUTPUT_ENABLED && !(HAL_GCS_ENABLED && defined(HAL_PERIPH_ENABLE_GPS))
|
#if HAL_NMEA_OUTPUT_ENABLED && !(HAL_GCS_ENABLED && defined(HAL_PERIPH_ENABLE_GPS))
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
#ifdef HAL_PERIPH_ENABLE_HWESC
|
#ifdef HAL_PERIPH_ENABLE_HWESC
|
||||||
|
|
||||||
|
#include <SITL/SITL.h>
|
||||||
|
|
||||||
extern const AP_HAL::HAL& hal;
|
extern const AP_HAL::HAL& hal;
|
||||||
|
|
||||||
#define TELEM_HEADER 0x9B
|
#define TELEM_HEADER 0x9B
|
||||||
|
Loading…
Reference in New Issue
Block a user