Skip to content

Commit

Permalink
CAN-FD messages can be 64 bytes (commaai#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan authored and mlocoteta committed Apr 29, 2023
1 parent 755432a commit e15336a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ CANParser::CANParser(int abus, const std::string& dbc_name,
}

state.size = msg->size;
assert(state.size < 64); // max signal size is 64 bytes
assert(state.size <= 64); // max signal size is 64 bytes

// track checksums and counters for this message
for (const auto& sig : msg->sigs) {
Expand Down

0 comments on commit e15336a

Please sign in to comment.