-
Notifications
You must be signed in to change notification settings - Fork 7
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
[DRAFT] Sending CAN messages on peripherals 1 and 2 #142
base: master
Are you sure you want to change the base?
Conversation
periph = DEFAULT_PERIPHERAL_NODE | ||
|
||
if 'can_peripheral_override' in msg: | ||
periph = msg['can_peripheral_override'] |
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.
Indentation seems a bit too deep. I have no idea if python will get mad at this or not.
filter_bank_periph = {"CAN1": 0, "CAN2": 14} | ||
filter_bank_max_periph = {"CAN1": 14, "CAN2": 27} | ||
|
||
# these lines were default behavior, just moved into tuples above and symbols renamed |
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.
Small thing, if you are talking about lines 85-87, those are dictionaries and not tuples.
Looking good, we should probably do a bit more testing before merging though. |
No description provided.