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 f2d3423f3 example/can: replace field ch_unused with ch_tcf
f2d3423f3 is described below
commit f2d3423f3b8517bbb31dfcef6fc7e2206f65a6b6
Author: xucheng5 <[email protected]>
AuthorDate: Wed Jun 19 16:06:14 2024 +0800
example/can: replace field ch_unused with ch_tcf
Signed-off-by: zhaohaiyang1 <[email protected]>
---
examples/can/can_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/can/can_main.c b/examples/can/can_main.c
index 67fa1bf24..6d73910ac 100644
--- a/examples/can/can_main.c
+++ b/examples/can/can_main.c
@@ -358,7 +358,7 @@ int main(int argc, FAR char *argv[])
txmsg.cm_hdr.ch_brs = brs;
txmsg.cm_hdr.ch_esi = false;
#endif
- txmsg.cm_hdr.ch_unused = 0;
+ txmsg.cm_hdr.ch_tcf = 0;
for (i = 0; i < msgbytes; i++)
{