From: Pavel Pisa Date: Fri, 1 Dec 2017 17:01:14 +0000 (+0100) Subject: sfunction_cansetup: correct debug message for rx/tx sockets open. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/socketcan-simulink.git/commitdiff_plain/refs/heads/master sfunction_cansetup: correct debug message for rx/tx sockets open. Signed-off-by: Pavel Pisa --- diff --git a/blocks/tlc_c/sfunction_cansetup.tlc b/blocks/tlc_c/sfunction_cansetup.tlc index 4189f10..4e2a35a 100644 --- a/blocks/tlc_c/sfunction_cansetup.tlc +++ b/blocks/tlc_c/sfunction_cansetup.tlc @@ -221,7 +221,7 @@ printf("CAN socket bind error.\n"); exit(1); } - printf("rx opening %s\n", ifname); + printf("tx opening %s\n", ifname); can_tx_handles[idx] = fd; } @@ -272,7 +272,7 @@ exit(1); } - printf("tx opening %s\n", ifname); + printf("rx opening %s\n", ifname); can_rx_handles[idx] = fd; } }