From 20e715aa133e9392128dc5d84252a50467c64ec6 Mon Sep 17 00:00:00 2001 From: priseborough Date: Fri, 31 Oct 2014 23:45:49 +1100 Subject: [PATCH] Copter : Remove ADNS3080 flow sensor support --- ArduCopter/ArduCopter.pde | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index c5a83b7339..b6bec3310a 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -315,9 +315,7 @@ AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission); // Optical flow sensor //////////////////////////////////////////////////////////////////////////////// #if OPTFLOW == ENABLED -#if CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2 -static AP_OpticalFlow_ADNS3080 optflow(ahrs); -#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 +#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 static AP_OpticalFlow_PX4 optflow(ahrs); #endif #endif