message-def: Fix code to avoid warnings 34/23234/6
authorCorentin Le Gall <corentin.legall@iot.bzh>
Mon, 25 Nov 2019 18:29:52 +0000 (19:29 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 14:55:03 +0000 (15:55 +0100)
Bug-AGL: SPEC-2988

Change-Id: I8ded9847a5923b3a78afc953551fc6daaf40b355
Signed-off-by: Corentin Le Gall <corentin.legall@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/message-definition.hpp

index 9d615ff..ab6b4be 100644 (file)
@@ -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_; ///<frame_layout_is_little_ Defines if the can frame layout is little endian or big endian.
+                                                                 /// Default is true;
        frequency_clock_t frequency_clock_; ///<  clock_ - an optional frequency clock to control the output of this
                                                        ///      message, if sent raw, or simply to mark the max frequency for custom
                                                        ///      handlers to retrieve.*/
-       bool frame_layout_is_little_; ///<frame_layout_is_little_ Defines if the can frame layout is little endian or big endian.
-                                                                 /// Default is true;
        bool force_send_changed_; ///< force_send_changed_ - If true, regardless of the frequency, it will send CAN
                                                        ///     message if it has changed when using raw passthrough.*/
        std::vector<uint8_t> last_value_; ///< last_value_ - The last received value of the message. Defaults to undefined.