mirror of https://github.com/ArduPilot/ardupilot
Copter : Remove ADNS3080 flow sensor support
This commit is contained in:
parent
5ef2208017
commit
20e715aa13
|
@ -315,9 +315,7 @@ AP_Mission mission(ahrs, &start_command, &verify_command, &exit_mission);
|
||||||
// Optical flow sensor
|
// Optical flow sensor
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
#if OPTFLOW == ENABLED
|
#if OPTFLOW == ENABLED
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||||
static AP_OpticalFlow_ADNS3080 optflow(ahrs);
|
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
|
||||||
static AP_OpticalFlow_PX4 optflow(ahrs);
|
static AP_OpticalFlow_PX4 optflow(ahrs);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue