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

Fix wrong can message length #6

Open
joaoantoniocardoso opened this issue Aug 12, 2021 · 3 comments
Open

Fix wrong can message length #6

joaoantoniocardoso opened this issue Aug 12, 2021 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@joaoantoniocardoso
Copy link
Member

joaoantoniocardoso commented Aug 12, 2021

All defined topics has its own length defined on can_ids.h.

See lines below:
https://github.com/ZeniteSolar/MAB20/blob/master/firmware/src/can_app.c#L57
https://github.com/ZeniteSolar/MAB20/blob/master/firmware/src/can_app.c#L77

Instead of CAN_MSG_GENERIC_STATE_LENGTH, it should be using CAN_MSG_MAB19_STATE_LENGTH and CAN_MSG_MAB19_PUMPS_LENGTH.

@joaoantoniocardoso joaoantoniocardoso added bug Something isn't working good first issue Good for newcomers labels Aug 12, 2021
@s0sharma
Copy link

Hi, I would like to work on this.

@joaoantoniocardoso
Copy link
Member Author

Hi @s0sharma, nice! We'll appreciate your contribution! To do so, you can follow the standard open source community workflow:

  • create a fork,
  • modify,
  • open a PR,

Please feel free to ask any question, thanks!

@joaoantoniocardoso
Copy link
Member Author

joaoantoniocardoso commented Aug 12, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants