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,12 +19,8 @@
|
|||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
#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
|
||||
#endif
|
||||
#endif
|
||||
|
||||
const AP_Param::GroupInfo AP_OpticalFlow::var_info[] = {
|
||||
// @Param: _TYPE
|
||||
|
|
Loading…
Reference in New Issue