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

Improve to_string and x25crc #748

Merged
merged 4 commits into from
Nov 9, 2022
Merged

Conversation

alehed
Copy link
Contributor

@alehed alehed commented Nov 6, 2022

This improves the to_string method (in theory with correct typing it should not be necessary, but I don't want to reason about types before using only python3 with type annotations).

It also improves the type support of the crc computation and removes an instance where the crc computation was copy-pasted.

This PR should fix #716.

@alehed alehed force-pushed the improve_to_string branch 3 times, most recently from 0ee4550 to fc20dd6 Compare November 6, 2022 18:12
@tridge tridge merged commit 850ef26 into ArduPilot:master Nov 9, 2022
@alehed alehed deleted the improve_to_string branch November 9, 2022 08:31
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.

fromstring is removed in python 3.9
2 participants