From: Corentin Le Gall Date: Mon, 25 Nov 2019 18:29:52 +0000 (+0100) Subject: message-def: Fix code to avoid warnings X-Git-Tag: 8.99.5~50 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=8ab87baece53249df7f4063caaa704ec1766ca5f;p=apps%2Fagl-service-can-low-level.git message-def: Fix code to avoid warnings Bug-AGL: SPEC-2988 Change-Id: I8ded9847a5923b3a78afc953551fc6daaf40b355 Signed-off-by: Corentin Le Gall Signed-off-by: Romain Forlot --- diff --git a/low-can-binding/can/message-definition.hpp b/low-can-binding/can/message-definition.hpp index 9d615ff0..ab6b4be8 100644 --- a/low-can-binding/can/message-definition.hpp +++ b/low-can-binding/can/message-definition.hpp @@ -46,11 +46,11 @@ private: std::string name_; ///< name_ - J1939 PGN name uint32_t length_; ///< length_ - Message data length in bytes. For J1939 message, this is the expected data size uint32_t flags_; ///< format_ - the format of the message's ID.*/ + bool frame_layout_is_little_; /// last_value_; ///< last_value_ - The last received value of the message. Defaults to undefined.