Skip to content

feat: canbus updates#3

Open
AlejoPm03 wants to merge 6 commits intomainfrom
alejopm/canbus-updates
Open

feat: canbus updates#3
AlejoPm03 wants to merge 6 commits intomainfrom
alejopm/canbus-updates

Conversation

@AlejoPm03
Copy link
Member

  • Handle send message error
  • Send status message

@sourcery-ai
Copy link

sourcery-ai bot commented Jul 16, 2024

🧙 Sourcery has finished reviewing your pull request!


Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Copy link

@sourcery-ai sourcery-ai bot left a 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)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (HAL_CAN_GetTxMailboxesFreeLevel(canbus.hcan) == 1)
if (HAL_CAN_GetTxMailboxesFreeLevel(canbus.hcan) == 0)

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