CAN-FD messages can be 64 bytes (#711)

This commit is contained in:
Greg Hogan 2022-09-25 08:31:57 -07:00 committed by GitHub
parent eaac172af9
commit 738e8aaeac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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) {