X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-test-sw.git/blobdiff_plain/9c743d6cafd0e9b8c8cbed6cb49d7e71dd1f3a59..8837578a6aa7e9dff2ad1752368cafd0f5ddb034:/rpp-test-sw/commands/cmd_can.c diff --git a/rpp-test-sw/commands/cmd_can.c b/rpp-test-sw/commands/cmd_can.c index 3a65e32..d6801b3 100644 --- a/rpp-test-sw/commands/cmd_can.c +++ b/rpp-test-sw/commands/cmd_can.c @@ -749,7 +749,7 @@ int cmd_do_can_dump(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[]) if (rx_ind) { if (rpp_can_read(controller_id-1, &pdu) == SUCCESS) { if (pdu.id & CAN_EFF_FLAG) - rpp_sci_printf("can%u %08X [%u] ", controller_id & (~CAN_EFF_FLAG), pdu.id, pdu.dlc); + rpp_sci_printf("can%u %08X [%u] ", controller_id, pdu.id & (~CAN_EFF_FLAG), pdu.dlc); else rpp_sci_printf("can%u %03X [%u] ", controller_id, pdu.id, pdu.dlc);