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

AP_DroneCAN: DNAServer: don't "allocate" broadcast ID #28049

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

tpwrules
Copy link
Contributor

@tpwrules tpwrules commented Sep 9, 2024

While technically legal, it's unlikely to have been tested and an allocatee might do silly things.

Also makes the logic a bit more clear, improves the failure message, and some other minor savings.

Tested on CubeOrange (with artificially limited DNA database size) and a pile of MatekL431 boards. Saves a couple hundred bytes.

While technically legal, it's unlikely to have been tested and an
allocatee might do silly things. Also makes the logic a bit more clear
and improves the failure message.
@tridge tridge merged commit aca6244 into ArduPilot:master Sep 10, 2024
94 checks passed
@tpwrules tpwrules deleted the pr/dna-alloc-cleanup branch September 10, 2024 02:45
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.

3 participants