Browse Source

SITL: fix copter sitl build on macos

c415-sdk
Huibean 4 years ago committed by Peter Barker
parent
commit
a00243dc5a
  1. 1
      libraries/SITL/SIM_BattMonitor_SMBus_Rotoye.cpp
  2. 1
      libraries/SITL/SIM_I2CDevice.cpp

1
libraries/SITL/SIM_BattMonitor_SMBus_Rotoye.cpp

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
#include "SIM_BattMonitor_SMBus_Rotoye.h"
#include <AP_HAL/utility/sparse-endian.h>
SITL::Rotoye::Rotoye() :
SIM_BattMonitor_SMBus_Generic()

1
libraries/SITL/SIM_I2CDevice.cpp

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
#include "SIM_I2CDevice.h"
#include <AP_HAL/utility/sparse-endian.h>
void SITL::I2CRegisters::add_register(const char *name, uint8_t reg, int8_t mode)
{

Loading…
Cancel
Save