Skip to content

Commit

Permalink
AP_InertialNav: updates for new AP_Baro API
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Jan 9, 2015
1 parent 197c09f commit cd7fbdd
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;

AP_InertialSensor ins;
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2
AP_Baro_MS5611 baro(&AP_Baro_MS5611::spi);
#else

#if CONFIG_HAL_BOARD == HAL_BOARD_APM1
AP_ADC_ADS7844 adc;
AP_Baro_BMP085 baro;
#endif

AP_Baro baro;

AP_GPS gps;
GPS_Glitch gps_glitch(gps);
Baro_Glitch baro_glitch(baro);
Expand Down

0 comments on commit cd7fbdd

Please sign in to comment.