diff --git a/firmware/can_helper.h b/firmware/can_helper.h index 5ca3887..b80c917 100644 --- a/firmware/can_helper.h +++ b/firmware/can_helper.h @@ -43,7 +43,7 @@ private: template class CanTxTyped final : public CanTxMessage { - static_assert(sizeof(TData) == sizeof(CANTxFrame::data8)); + static_assert(sizeof(TData) <= sizeof(CANTxFrame::data8)); public: explicit CanTxTyped(uint32_t eid) : CanTxMessage(eid) { }