diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-01 17:06:17 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-01 17:06:17 +0100 |
commit | d10240e4c0d05ae6ccd633f7b82cbdd48ec27d7c (patch) | |
tree | 2a01b179557949e1de3871718bf00f1b40413192 /src/can-message.cpp | |
parent | 834d1a950d38a821284955f2732cdbb5b05ebd2a (diff) |
Fix: miss 'if' brackets to get incomplete CAN frames correctly
Fix: displaying can message frame with hexa format.
Change-Id: Iff658ac38f21a15945ed82509d4e291f0fda7503
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-message.cpp')
-rw-r--r-- | src/can-message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/can-message.cpp b/src/can-message.cpp index a95722e8..e2732487 100644 --- a/src/can-message.cpp +++ b/src/can-message.cpp @@ -186,7 +186,7 @@ void can_message_t::convert_from_canfd_frame(const struct canfd_frame& frame) data_.reserve(dlen); set_data(frame.data, dlen); - DEBUG(binder_interface, "convert_from_canfd_frame: Found id: %d, format: %d, length: %d, data %d%d%d%d%d%d%d%d", id_, format_, length_, + DEBUG(binder_interface, "convert_from_canfd_frame: Found id: %X, format: %X, length: %X, data %02X%02X%02X%02X%02X%02X%02X%02X", id_, format_, length_, data_[0], data_[1], data_[2], data_[3], data_[4], data_[5], data_[6], data_[7]); } |