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

Creating a transmit raw functon that uses the msg fields directly. #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nigerianpickle
Copy link
Contributor

Created a function that uses the message fields directly for the ‎CANWrapper_Transmit function.
The goal is to allow any msg to be processed when testing.

@nigerianpickle nigerianpickle linked an issue Dec 27, 2024 that may be closed by this pull request
Copy link
Collaborator

@Koloss0 Koloss0 left a comment

Choose a reason for hiding this comment

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

To fix the code duplication, you could make the regular CANWrapper_Transmit function copy the message parameter, set its members and pass it to the Raw version, since all it does differently is use some global variables to fill in that information.

@nigerianpickle
Copy link
Contributor Author

nigerianpickle commented Jan 16, 2025

I was able to work on all you mentioned, let me know if there's anything wrong.

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.

Add a CANWrapper_Transmit_Raw function
2 participants