diff options
author | Corentin Le Gall <corentin.legall@iot.bzh> | 2019-11-25 19:29:52 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2020-01-09 15:55:03 +0100 |
commit | 8ab87baece53249df7f4063caaa704ec1766ca5f (patch) | |
tree | 519c1a694f975848aeb861d9f3da12942b2e36b5 /low-can-binding/can | |
parent | d1530f94446bf69599664b0341be35317e18b8b5 (diff) |
message-def: Fix code to avoid warnings
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>
Diffstat (limited to 'low-can-binding/can')
-rw-r--r-- | low-can-binding/can/message-definition.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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_; ///<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. |