aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/can/can-message.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-message.hpp')
-rw-r--r--CAN-binder/low-can-binding/can/can-message.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/CAN-binder/low-can-binding/can/can-message.hpp b/CAN-binder/low-can-binding/can/can-message.hpp
index 5a6e6eb3..d38f7ba2 100644
--- a/CAN-binder/low-can-binding/can/can-message.hpp
+++ b/CAN-binder/low-can-binding/can/can-message.hpp
@@ -70,6 +70,9 @@ public:
bool is_correct_to_send();
- static can_message_t convert_from_canfd_frame(const struct canfd_frame& frame, size_t nbytes);
- canfd_frame convert_to_canfd_frame();
+ static can_message_t convert_from_frame(const canfd_frame& frame, size_t nbytes);
+ static can_message_t convert_from_frame(const can_frame& frame, size_t nbytes);
+
+ struct canfd_frame convert_to_canfd_frame();
+ struct can_frame convert_to_can_frame();
};