From 7cabf00380b08a543e592be4ae0022bab672e0c8 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Wed, 9 Oct 2024 16:14:45 +0200 Subject: [PATCH] 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 --- 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 */