Commit f51a8926 authored by The Nguyen's avatar The Nguyen Committed by Benjamin Cabé
Browse files

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: default avatarThe Nguyen <the.nguyen.yf@renesas.com>
parent 58527c10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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),
};