From f51a89268fbc316b9ce0139535da928f4e8656d5 Mon Sep 17 00:00:00 2001 From: The Nguyen Date: Wed, 18 Jun 2025 12:01:35 +0700 Subject: [PATCH] tracing: fix build error on USB backend This commit to fix build error due to a wrong syntax in case USBD highspeed was enabled Signed-off-by: The Nguyen --- subsys/tracing/tracing_backend_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/tracing/tracing_backend_usb.c b/subsys/tracing/tracing_backend_usb.c index e931fd63e1d..96046441d0a 100644 --- a/subsys/tracing/tracing_backend_usb.c +++ b/subsys/tracing/tracing_backend_usb.c @@ -235,7 +235,7 @@ const static __maybe_unused struct usb_desc_header *tracing_func_hs_desc[] = { static struct tracing_func_data func_data = { .desc = &func_desc, .fs_desc = tracing_func_fs_desc, - .hs_desc = COND_CODE_1(USBD_SUPPORTS_HIGH_SPEED, (tracing_func_hs_desc), (NULL,)) + .hs_desc = COND_CODE_1(USBD_SUPPORTS_HIGH_SPEED, (tracing_func_hs_desc), (NULL)), .sync_sem = Z_SEM_INITIALIZER(func_data.sync_sem, 0, 1), };