Copter : Remove ADNS3080 flow sensor support

This commit is contained in:
priseborough 2014-10-31 23:45:49 +11:00 committed by Andrew Tridgell
parent 5ef2208017
commit 20e715aa13
1 changed files with 1 additions and 3 deletions

View File

@ -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