From 745c4e5c029235e10996cfc45ff3c76432594b0f Mon Sep 17 00:00:00 2001 From: Nick Exton Date: Thu, 16 May 2024 09:44:56 +1000 Subject: [PATCH] AP_Mount: Make backend get_gimbal_device_flags() function virtual --- libraries/AP_Mount/AP_Mount_Backend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Mount/AP_Mount_Backend.h b/libraries/AP_Mount/AP_Mount_Backend.h index 56706d7463c98..d64a0e2bbed92 100644 --- a/libraries/AP_Mount/AP_Mount_Backend.h +++ b/libraries/AP_Mount/AP_Mount_Backend.h @@ -288,7 +288,7 @@ class AP_Mount_Backend void update_angle_target_from_rate(const MountTarget& rate_rad, MountTarget& angle_rad) const; // helper function to provide GIMBAL_DEVICE_FLAGS for use in GIMBAL_DEVICE_ATTITUDE_STATUS message - uint16_t get_gimbal_device_flags() const; + virtual uint16_t get_gimbal_device_flags() const; // sent warning to GCS void send_warning_to_GCS(const char* warning_str);