example/can: replace field ch_unused with ch_tcf

Signed-off-by: zhaohaiyang1 <zhaohaiyang1@xiaomi.com>
This commit is contained in:
xucheng5 2024-06-19 16:06:14 +08:00 committed by Lup Yuen Lee
parent de7bbc1b25
commit f2d3423f3b

View File

@ -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++)
{