Skip to content

Commit

Permalink
AP_Mount: Make backend get_gimbal_device_flags() function virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
nexton-winjeel committed May 16, 2024
1 parent ab4df6c commit 745c4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_Mount/AP_Mount_Backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 745c4e5

Please sign in to comment.