Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mavutil: cope with enum entry rename #898

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

peterbarker
Copy link
Contributor

two entries were renamed in the MAV_TYPE enumeration. Since mavutil uses those enumeration entries without checking if they exist, using the entries which no longer exist goes poorly.

Rename was done here: /~https://github.com/mavlink/mavlink/pull/1818/files

Alternative to #889

Tested on the command-line for the values currently in the mavlink commit references in ardupilot/master

two entries were renamed in the MAV_TYPE enumeration.  Since mavutil uses those enumeration entries without checking if they exist, using the entries which no longer exist goes poorly.

Rename was done here: /~https://github.com/mavlink/mavlink/pull/1818/files
@tridge tridge merged commit f2286dc into ArduPilot:master Jan 3, 2024
12 checks passed
@peterbarker peterbarker deleted the pr/cope-with-renames branch January 3, 2024 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants