mirror of https://github.com/ArduPilot/ardupilot
SITL: follow standard pattern for including ENABLED guards
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
This commit is contained in:
parent
5b935a3838
commit
ee7376afb1
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_Airspeed_DLVR.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_AIRSPEED_DLVR_ENABLED
|
||||
|
||||
#include "SIM_Airspeed_DLVR.h"
|
||||
|
||||
#include "SITL.h"
|
||||
|
||||
int SITL::Airspeed_DLVR::rdwr(I2C::i2c_rdwr_ioctl_data *&data)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_BattMonitor_SMBus_Maxell.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_BATT_MONITOR_SMBUS_MAXELL_ENABLED
|
||||
|
||||
#include "SIM_BattMonitor_SMBus_Maxell.h"
|
||||
|
||||
SITL::Maxell::Maxell() :
|
||||
SIM_BattMonitor_SMBus_Generic()
|
||||
{
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_BattMonitor_SMBus_Rotoye.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_BATT_MONITOR_SMBUS_ROTOYE_ENABLED
|
||||
|
||||
#include "SIM_BattMonitor_SMBus_Rotoye.h"
|
||||
|
||||
#include <AP_HAL/utility/sparse-endian.h>
|
||||
|
||||
SITL::Rotoye::Rotoye() :
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_MS5525.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_MS5525_ENABLED
|
||||
|
||||
#include "SIM_MS5525.h"
|
||||
|
||||
#include <SITL/SITL.h>
|
||||
|
||||
using namespace SITL;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_MS5611.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_MS5611_ENABLED
|
||||
|
||||
#include "SIM_MS5611.h"
|
||||
|
||||
#include <SITL/SITL.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_Temperature_MCP9600.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_TEMPERATURE_MCP9600_ENABLED
|
||||
|
||||
#include "SIM_Temperature_MCP9600.h"
|
||||
|
||||
using namespace SITL;
|
||||
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#include "SIM_Temperature_TSYS01.h"
|
||||
#include "SIM_config.h"
|
||||
|
||||
#if AP_SIM_TEMPERATURE_TSYS01_ENABLED
|
||||
|
||||
#include "SIM_Temperature_TSYS01.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
constexpr const int32_t SITL::TSYS01::_k[5];
|
||||
|
|
Loading…
Reference in New Issue