From 25a6d579ebba573d62fb53022025b168b7ddb701 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 8 Nov 2024 13:25:50 +1100 Subject: [PATCH] AP_OpticalFlow: tidy defaulting of Bebop OpticalFlow sensor type --- libraries/AP_OpticalFlow/AP_OpticalFlow.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp b/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp index 1f0188917d..2b86e63f73 100644 --- a/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp +++ b/libraries/AP_OpticalFlow/AP_OpticalFlow.cpp @@ -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[] = {