Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions board/drivers/can_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,12 @@ void ignition_can_hook(CANPacket_t *msg) {
}
}

// TODO: this is too loose, Teslas have 0x222
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
// TODO: this is too loose, Teslas have 0x222
// FIXME: this is too loose, Teslas have 0x222

// body v2 exception
if (((msg->bus == 0U) || (msg->bus == 2U)) && (msg->addr == 0x222U)) {
ignition_can = true;
ignition_can_cnt = 0U;
}
// if (((msg->bus == 0U) || (msg->bus == 2U)) && (msg->addr == 0x222U)) {
// ignition_can = true;
// ignition_can_cnt = 0U;
// }
}

bool can_tx_check_min_slots_free(uint32_t min) {
Expand Down
Loading