summaryrefslogtreecommitdiff
path: root/apps/examples/can
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/can')
-rw-r--r--apps/examples/can/can_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/can/can_main.c b/apps/examples/can/can_main.c
index 482d3f438..310bea845 100644
--- a/apps/examples/can/can_main.c
+++ b/apps/examples/can/can_main.c
@@ -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 */