mirror of https://github.com/ArduPilot/ardupilot
AP_OpticalFlow: tidy defaulting of Bebop OpticalFlow sensor type
This commit is contained in:
parent
0c5741364e
commit
25a6d579eb
|
@ -19,11 +19,7 @@
|
||||||
extern const AP_HAL::HAL& hal;
|
extern const AP_HAL::HAL& hal;
|
||||||
|
|
||||||
#ifndef OPTICAL_FLOW_TYPE_DEFAULT
|
#ifndef OPTICAL_FLOW_TYPE_DEFAULT
|
||||||
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
|
|
||||||
#define OPTICAL_FLOW_TYPE_DEFAULT Type::BEBOP
|
|
||||||
#else
|
|
||||||
#define OPTICAL_FLOW_TYPE_DEFAULT Type::NONE
|
#define OPTICAL_FLOW_TYPE_DEFAULT Type::NONE
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = {
|
const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = {
|
||||||
|
|
Loading…
Reference in New Issue