From 432b62d7dc1190eb4acc03d777bfcf020e9f4ecc Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 16 Feb 2017 16:45:10 +0000 Subject: Add can_message_t constructor. Make the class compliant with new typo Change-Id: I69b7247d841b58183e7863600072a79b2a9be1c6 Signed-off-by: Romain Forlot --- src/can-utils.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/can-utils.h') diff --git a/src/can-utils.h b/src/can-utils.h index 9fd35c6..71c0fcc 100644 --- a/src/can-utils.h +++ b/src/can-utils.h @@ -137,10 +137,11 @@ typedef struct CanMessage CanMessage; */ class can_message_t { private: - uint32_t id; - CanMessageFormat format; - uint8_t data[CAN_MESSAGE_SIZE]; - uint8_t length; + afb_binding_interface interface_; + uint32_t id_; + CanMessageFormat format_; + uint8_t data_[CAN_MESSAGE_SIZE]; + uint8_t length_; public: uint32_t get_id() const; -- cgit