-
Notifications
You must be signed in to change notification settings - Fork 1
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
CAN driver #66
base: develop
Are you sure you want to change the base?
CAN driver #66
Conversation
can_message1 message_13; | ||
can_message1 message_14; | ||
|
||
message_10.id = id1; |
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.
Make messages 10 to 14 have global variable pointers, then initialize them in this function. We need to be able to access these CAN messages outside of the init function, and right now they'd be deleted at the end of it.
*/ | ||
|
||
#include "can.h" | ||
#include "can_driver.h" |
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.
Should be can_charger_driver.h
Using the charger data sheet, implemented different CAN messages. There are some TODOs left. These include finding the actual charging current. The CAN_charging_driver is not completed yet (it is up to the reviewer's discretion to add it or not).