From 4fcf46005b43fa4e620e264040270cf7978cb385 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 16 Oct 2014 13:53:22 +1100 Subject: [PATCH] AC_Fence: fixed example build --- .../AC_Fence/examples/AC_Fence_test/AC_Fence_test.pde | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/AC_Fence/examples/AC_Fence_test/AC_Fence_test.pde b/libraries/AC_Fence/examples/AC_Fence_test/AC_Fence_test.pde index 79ac8af280..9fa50135bf 100644 --- a/libraries/AC_Fence/examples/AC_Fence_test/AC_Fence_test.pde +++ b/libraries/AC_Fence/examples/AC_Fence_test/AC_Fence_test.pde @@ -37,16 +37,13 @@ const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER; +AP_InertialSensor ins; + // INS and Baro declaration #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