From 4139b7a5480f5c710e6bc6a6b77bb5b5a0d19311 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 15 Aug 2022 11:31:14 +1000 Subject: [PATCH] AP_AHRS: rename OpticalFlow class to AP_OpticalFlow Brings us in-line with other classes in ArduPilot. Removes ambiguity with AP_HAL::OpticalFlow which can cause compilation errors as we start to make code more portable across targets --- libraries/AP_AHRS/AP_AHRS_Backend.h | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_AHRS/AP_AHRS_Backend.h b/libraries/AP_AHRS/AP_AHRS_Backend.h index 66f261d7f5..0e42385b41 100644 --- a/libraries/AP_AHRS/AP_AHRS_Backend.h +++ b/libraries/AP_AHRS/AP_AHRS_Backend.h @@ -25,7 +25,6 @@ #include #include -class OpticalFlow; #define AP_AHRS_TRIM_LIMIT 10.0f // maximum trim angle in degrees #define AP_AHRS_RP_P_MIN 0.05f // minimum value for AHRS_RP_P parameter #define AP_AHRS_YAW_P_MIN 0.05f // minimum value for AHRS_YAW_P parameter