Browse Source

AP_InertialNav: fixed example build

master
Andrew Tridgell 10 years ago
parent
commit
006185f08a
  1. 6
      libraries/AP_InertialNav/examples/AP_InertialNav_test/AP_InertialNav_test.pde

6
libraries/AP_InertialNav/examples/AP_InertialNav_test/AP_InertialNav_test.pde

@ -34,15 +34,11 @@ @@ -34,15 +34,11 @@
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
AP_InertialSensor ins;
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
AP_InertialSensor_MPU6000 ins;
AP_Baro_MS5611 baro(&AP_Baro_MS5611::spi);
#else
AP_ADC_ADS7844 adc;
AP_InertialSensor_Oilpan ins(&adc);
AP_Baro_BMP085 baro;
#endif

Loading…
Cancel
Save