diff options
Diffstat (limited to 'low-can-binding/can/message-definition.cpp')
-rw-r--r-- | low-can-binding/can/message-definition.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/low-can-binding/can/message-definition.cpp b/low-can-binding/can/message-definition.cpp index 80609827..63541277 100644 --- a/low-can-binding/can/message-definition.cpp +++ b/low-can-binding/can/message-definition.cpp @@ -79,12 +79,12 @@ uint32_t message_definition_t::get_id() const bool message_definition_t::is_fd() const { - return (flags_&FD_FRAME); + return (flags_ & CAN_PROTOCOL_WITH_FD_FRAME); } bool message_definition_t::is_j1939() const { - return (flags_&J1939_PROTOCOL); + return (flags_ & J1939_PROTOCOL); } bool message_definition_t::is_isotp() const |