-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: canbus updates #3
base: main
Are you sure you want to change the base?
Conversation
AlejoPm03
commented
Jul 16, 2024
- Handle send message error
- Send status message
🧙 Sourcery has finished reviewing your pull request! Tips
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
static uint32_t mailbox; | ||
|
||
/* Check if mailbox is full*/ | ||
if (HAL_CAN_GetTxMailboxesFreeLevel(canbus.hcan) == 1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (HAL_CAN_GetTxMailboxesFreeLevel(canbus.hcan) == 1) | |
if (HAL_CAN_GetTxMailboxesFreeLevel(canbus.hcan) == 0) |