Skip to content

Commit

Permalink
AP_OpticalFlow: tidy defaulting of Bebop OpticalFlow sensor type
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Nov 8, 2024
1 parent 2a3f47c commit f26c1da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/AP_OpticalFlow/AP_OpticalFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@
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[] = {
Expand Down

0 comments on commit f26c1da

Please sign in to comment.