Skip to content

Commit

Permalink
canutils/libobd2: replace field ch_unused with ch_tcf
Browse files Browse the repository at this point in the history
apache#2635
replaced ch_unused with ch_tcf

Signed-off-by: Alin Jerpelea <[email protected]>
  • Loading branch information
jerpelea authored and xiaoxiang781216 committed Oct 9, 2024
1 parent 1b27b73 commit 7cabf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canutils/libobd2/obd_sendrequest.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ int obd_send_request(FAR struct obd_dev_s *dev, uint8_t opmode, uint8_t pid)
#ifdef CONFIG_CAN_EXTID
dev->can_txmsg.cm_hdr.ch_extid = extended; /* Standard/Extend mode */
#endif
dev->can_txmsg.cm_hdr.ch_unused = 0; /* Unused */
dev->can_txmsg.cm_hdr.ch_tcf = 0; /* Unused */

/* Single Frame with two bytes data */

Expand Down

0 comments on commit 7cabf00

Please sign in to comment.