canutils/libobd2: replace field ch_unused with ch_tcf

https://github.com/apache/nuttx-apps/pull/2635
replaced ch_unused with ch_tcf

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2024-10-09 16:14:45 +02:00 committed by Lup Yuen Lee
parent f2d3423f3b
commit 656d335e05

View File

@ -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 */