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

Fix processing data from uavcan.protocol.file.Read #28

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

DJ-Von
Copy link
Contributor

@DJ-Von DJ-Von commented Apr 16, 2024

An empty response to the uavcan.protocol.file.Read will have a size of 2 bytes (this is the size of the error field), while the DroneCAN -> Cyphal converter expects at least 4, because it mistakenly assumes that the minimum response size will be like in Cyphal, where there is no tail array optimization.

@pavel-kirienko pavel-kirienko merged commit d806ba1 into Zubax:master Apr 16, 2024
9 checks passed
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