AP_Periph: add missing SITL includes

these are required for compilation when other things are introduced
This commit is contained in:
Peter Barker 2023-09-14 21:22:45 +10:00 committed by Andrew Tridgell
parent b43f4f78a3
commit c22794d078
2 changed files with 5 additions and 0 deletions

View File

@ -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))

View File

@ -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