Skip to content

Commit f51a892

Browse files
thenguyenyfkartben
authored andcommitted
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 <the.nguyen.yf@renesas.com>
1 parent 58527c1 commit f51a892

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/tracing/tracing_backend_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ const static __maybe_unused struct usb_desc_header *tracing_func_hs_desc[] = {
235235
static struct tracing_func_data func_data = {
236236
.desc = &func_desc,
237237
.fs_desc = tracing_func_fs_desc,
238-
.hs_desc = COND_CODE_1(USBD_SUPPORTS_HIGH_SPEED, (tracing_func_hs_desc), (NULL,))
238+
.hs_desc = COND_CODE_1(USBD_SUPPORTS_HIGH_SPEED, (tracing_func_hs_desc), (NULL)),
239239
.sync_sem = Z_SEM_INITIALIZER(func_data.sync_sem, 0, 1),
240240
};
241241

0 commit comments

Comments
 (0)