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

Allow sending RTR messages #36

Merged
merged 4 commits into from
Sep 20, 2024
Merged

Allow sending RTR messages #36

merged 4 commits into from
Sep 20, 2024

Conversation

LandryNorris
Copy link
Contributor

We use the mask 0x80000000, like WPILib for specifying RTR. Note that Candlelib uses 0x40000000 to mean RTR, so we have to translate.

@@ -178,6 +180,7 @@ class CANMessage {
uint8_t m_size;
uint32_t m_messageId;
uint32_t m_timestamp;
bool m_is_remote;
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like this doesn't actually get used, is that correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd initially intended it to be held in this class, but that changed. I'll remove this.

@LandryNorris LandryNorris merged commit dc81b7a into main Sep 20, 2024
1 check passed
@LandryNorris LandryNorris deleted the feature/rtr branch September 20, 2024 16:02
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