mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-05 05:07:49 +00:00
apps/examples/can: Fix an error in a debug statement. From Martin Lederhilger
This commit is contained in:
parent
53b56c781d
commit
097a0952f0
2 changed files with 3 additions and 1 deletions
|
|
@ -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).
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue