]> rtime.felk.cvut.cz Git - rpp-test-sw.git/commitdiff
CAN send output changed
authorKarryanna <karry@karryanna.cz>
Thu, 19 Sep 2013 12:23:05 +0000 (14:23 +0200)
committerKarryanna <karry@karryanna.cz>
Thu, 19 Sep 2013 12:23:05 +0000 (14:23 +0200)
commands/cmd_can.c

index 3f184c8b8f9126f46f9bb729205af20b1de6a82d..e23aa1a7bf9334743316574291f12a00926c67db 100644 (file)
@@ -313,10 +313,9 @@ int cmd_do_can_send(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
     pdu.dlc = i;
 
 
-    rpp_sci_printf("Testing CAN send, sending message\n");
     if (rpp_can_write(controller_id-1, &pdu) == SUCCESS)
 {
-    rpp_sci_printf("can%u\t%X\t[%u]\t", controller_id, pdu.id, pdu.dlc);
+    rpp_sci_printf("Sent:  can%u\t%X\t[%u]\t", controller_id, pdu.id, pdu.dlc);
     for (i=0; i<pdu.dlc; i++)
     {
         rpp_sci_printf("%X ", pdu.data[i]);