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

implement AsPtr for CanAnyFrame #43

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

jreppnow
Copy link
Contributor

@jreppnow jreppnow commented Jun 4, 2023

Hi! This fixes the somewhat comical issue that I cannot directly put a CanAnyFrame back into a CanFdSocket from which I have received it. Bit ugly with the c_void and making the size function non-static, but the smallest possible increment within the current implementation..

@jreppnow
Copy link
Contributor Author

jreppnow commented Jun 4, 2023

CI failure is not related to PR, see #44 (and merge that one first, will rebase this one onto the other PR)

@fpagliughi
Copy link
Collaborator

Thanks for the PR! I just quickly pushed out a pair of releases and totally forgot to look at the PR's. I'll get these in an do another release ASAP.

Copy link
Collaborator

@fpagliughi fpagliughi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpagliughi fpagliughi merged commit 6a9fdf7 into socketcan-rs:master Sep 21, 2023
8 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.

None yet

2 participants