Plane: added HAL_LINUX includes

This commit is contained in:
Andrew Tridgell 2013-09-22 16:04:36 +10:00
parent 4c05848734
commit c3d0b315cf
2 changed files with 7 additions and 0 deletions

View File

@ -92,6 +92,7 @@ static AP_Vehicle::FixedWing aparm;
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_PX4.h>
#include <AP_HAL_FLYMAPLE.h>
#include <AP_HAL_Linux.h>
#include <AP_HAL_Empty.h>
AP_HAL::BetterStream* cliSerial;

View File

@ -131,6 +131,12 @@
# define CONFIG_BARO AP_BARO_BMP085
# define CONFIG_COMPASS AP_COMPASS_HMC5843
# 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