AP_OpticalFlow: tidy defaulting of Bebop OpticalFlow sensor type

This commit is contained in:
Peter Barker 2024-11-08 13:25:50 +11:00 committed by Andrew Tridgell
parent 0c5741364e
commit 25a6d579eb
1 changed files with 0 additions and 4 deletions

View File

@ -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[] = {