summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-01 17:41:16 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-01 17:41:16 +0100
commit4f06114c79f804ed404d40ffad771cbacab0fe8b (patch)
tree8e8122ce2fbf71f6564fcd579216e0217c034a17
parent0c9926d385f357e4a0a8bb2932da0aa6e2503b9b (diff)
Fix: wrong format to display can_message_t information
Change-Id: I6c17c68d8e995022886750f2ef05348b544cbde5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/can-bus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/can-bus.cpp b/src/can-bus.cpp
index 52c81cf..6279a2a 100644
--- a/src/can-bus.cpp
+++ b/src/can-bus.cpp
@@ -240,7 +240,7 @@ can_message_t can_bus_t::next_can_message()
{
can_msg = can_message_q_.front();
can_message_q_.pop();
- DEBUG(binder_interface, "next_can_message: Here is the next can message : id %d, length %d", can_msg.get_id(), can_msg.get_length());
+ DEBUG(binder_interface, "next_can_message: Here is the next can message : id %X, length %X", can_msg.get_id(), can_msg.get_length());
return can_msg;
}