From 33c7432e976e759cf3dca298176b340be18cf917 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Oct 2014 13:53:43 +1100 Subject: [PATCH] AC_WPNav: fixed example build --- libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde b/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde index 3a14c95f38..43c85d3faa 100644 --- a/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde +++ b/libraries/AC_WPNav/examples/AC_WPNav_test/AC_WPNav_test.pde @@ -43,15 +43,11 @@ const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; // INS and Baro declaration +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