From 2a3f47ce9006c557568e7cd81a4a426fd6ae8f32 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 8 Nov 2024 13:25:50 +1100 Subject: [PATCH] AP_HAL: tidy defaulting of Bebop OpticalFlow sensor type --- libraries/AP_HAL/board/linux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL/board/linux.h b/libraries/AP_HAL/board/linux.h index b92ea9c40663b..a7e6c3fc1740f 100644 --- a/libraries/AP_HAL/board/linux.h +++ b/libraries/AP_HAL/board/linux.h @@ -57,6 +57,7 @@ #define HAL_LINUX_HEAT_TARGET_TEMP 50 #define BEBOP_CAMV_PWM 9 #define BEBOP_CAMV_PWM_FREQ 43333333 + #define OPTICAL_FLOW_TYPE_DEFAULT Type::BEBOP #define HAL_OPTFLOW_ONBOARD_VDEV_PATH "/dev/video0" #define HAL_OPTFLOW_ONBOARD_SUBDEV_PATH "/dev/v4l-subdev0" #define HAL_OPTFLOW_ONBOARD_SENSOR_WIDTH 320