This is an automated email from the ASF dual-hosted git repository.
lupyuen pushed a commit to branch releases/12.7
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/releases/12.7 by this push:
new 656d335e0 canutils/libobd2: replace field ch_unused with ch_tcf
656d335e0 is described below
commit 656d335e054d73d6d63494df2058172e418c2e71
Author: Alin Jerpelea <[email protected]>
AuthorDate: Wed Oct 9 16:14:45 2024 +0200
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 <[email protected]>
---
canutils/libobd2/obd_sendrequest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/canutils/libobd2/obd_sendrequest.c
b/canutils/libobd2/obd_sendrequest.c
index c1ec8ed7d..2fb4c7d57 100644
--- a/canutils/libobd2/obd_sendrequest.c
+++ b/canutils/libobd2/obd_sendrequest.c
@@ -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 */