diff options
Diffstat (limited to 'low-can-binding/can/can-message-definition.hpp')
-rw-r--r-- | low-can-binding/can/can-message-definition.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/low-can-binding/can/can-message-definition.hpp b/low-can-binding/can/can-message-definition.hpp index b9025cbb..689c654c 100644 --- a/low-can-binding/can/can-message-definition.hpp +++ b/low-can-binding/can/can-message-definition.hpp @@ -29,7 +29,7 @@ #include <memory> #include "can-signals.hpp" -#include "can-message.hpp" +#include "message/can-message.hpp" #include "can-message-set.hpp" #include "../utils/timer.hpp" @@ -72,8 +72,9 @@ public: const std::string get_bus_device_name() const; uint32_t get_id() const; bool is_fd() const; + bool is_j1939() const; std::vector<std::shared_ptr<can_signal_t> >& get_can_signals(); void set_parent(can_message_set_t* parent); - void set_last_value(const can_message_t& cm); + void set_last_value(const message_t& cm); }; |