summaryrefslogtreecommitdiffstats
path: root/src/can-message.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-02 23:05:50 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-02 23:05:50 +0100
commit8e9b03928613c75befe059e772e7bdbb3109c350 (patch)
treebdde271b22ccef983c483934887219deb79f46d4 /src/can-message.cpp
parent8b642a7d7dbb2bdba0c9e33e746181bcf57b8545 (diff)
Debugging message cook
Change-Id: If93bf9bf7c6e2f429a4313a7f6500ded950229c9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-message.cpp')
-rw-r--r--src/can-message.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/can-message.cpp b/src/can-message.cpp
index 63f8a909..39059430 100644
--- a/src/can-message.cpp
+++ b/src/can-message.cpp
@@ -70,15 +70,15 @@ void can_message_t::set_max_data_length(size_t nbytes)
switch(nbytes)
{
case CANFD_MTU:
- DEBUG(binder_interface, "convert_from_canfd_frame: Got an CAN FD frame");
+ DEBUG(binder_interface, "set_max_data_length: Got an CAN FD frame");
maxdlen_ = CANFD_MAX_DLEN;
break;
case CAN_MTU:
- DEBUG(binder_interface, "convert_from_canfd_frame: Got a legacy CAN frame");
+ DEBUG(binder_interface, "set_max_data_length: Got a legacy CAN frame");
maxdlen_ = CAN_MAX_DLEN;
break;
default:
- ERROR(binder_interface, "convert_from_canfd_frame: unsupported CAN frame");
+ ERROR(binder_interface, "set_max_data_length: unsupported CAN frame");
break;
}
}