From 738e8aaeace788cb2618c75bbc0c932c787ac21d Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Sun, 25 Sep 2022 08:31:57 -0700 Subject: [PATCH] CAN-FD messages can be 64 bytes (#711) --- can/parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/can/parser.cc b/can/parser.cc index 471958c..984df11 100644 --- a/can/parser.cc +++ b/can/parser.cc @@ -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) {