apps/examples/can: Fix an error in a debug statement. From Martin Lederhilger

This commit is contained in:
Gregory Nutt 2013-10-24 08:14:41 -06:00
parent 53b56c781d
commit 097a0952f0
2 changed files with 3 additions and 1 deletions

View File

@ -695,4 +695,6 @@
From David Sidrane (2013-10-24).
* apps/examples/cc3000: Updates from David Sidrane. Plus
some kruft removal (2013-10-24).
* apps/examples/can/can_main.c: Correct an error in a debug
statement. From Martin Lederhilger (2013-10-24).

View File

@ -241,7 +241,7 @@ int can_main(int argc, char *argv[])
#endif
#ifndef CONFIG_EXAMPLES_CAN_READONLY
message(" ID: %4d DLC: %d\n", rxmsg.cm_hdr.id, rxmsg.cm_hdr.dlc);
message(" ID: %4d DLC: %d\n", rxmsg.cm_hdr.ch_id, rxmsg.cm_hdr.ch_dlc);
#endif
/* Verify that the received messages are the same */