diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-16 16:45:10 +0000 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-16 16:45:10 +0000 |
commit | 432b62d7dc1190eb4acc03d777bfcf020e9f4ecc (patch) | |
tree | ee67b693681faeaafe39dc3cb839235b4379b56a /src/can-utils.h | |
parent | ec95cbf8d430f9616eff050f510268f9901944b6 (diff) |
Add can_message_t constructor. Make the class
compliant with new typo
Change-Id: I69b7247d841b58183e7863600072a79b2a9be1c6
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-utils.h')
-rw-r--r-- | src/can-utils.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/can-utils.h b/src/can-utils.h index 9fd35c65..71c0fccf 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; |