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>
This commit is contained in:
parent
58527c1020
commit
f51a89268f
@ -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),
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user