From e15336a9ccb08bb49facafd6b767901d9baefba9 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 471958c060..984df11154 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) {