Plane: added HAL_LINUX includes
This commit is contained in:
parent
4c05848734
commit
c3d0b315cf
@ -92,6 +92,7 @@ static AP_Vehicle::FixedWing aparm;
|
|||||||
#include <AP_HAL_AVR_SITL.h>
|
#include <AP_HAL_AVR_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_Empty.h>
|
#include <AP_HAL_Empty.h>
|
||||||
|
|
||||||
AP_HAL::BetterStream* cliSerial;
|
AP_HAL::BetterStream* cliSerial;
|
||||||
|
@ -131,6 +131,12 @@
|
|||||||
# define CONFIG_BARO AP_BARO_BMP085
|
# define CONFIG_BARO AP_BARO_BMP085
|
||||||
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
# define CONFIG_COMPASS AP_COMPASS_HMC5843
|
||||||
# define SERIAL0_BAUD 115200
|
# define SERIAL0_BAUD 115200
|
||||||
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||||
|
# define BATTERY_VOLT_PIN -1
|
||||||
|
# define BATTERY_CURR_PIN -1
|
||||||
|
# define CONFIG_INS_TYPE CONFIG_INS_STUB
|
||||||
|
# define CONFIG_BARO AP_BARO_HIL
|
||||||
|
# define CONFIG_COMPASS AP_COMPASS_HIL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user