We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 704b36f commit 65a603fCopy full SHA for 65a603f
samples/subsys/usb/webusb-next/src/sfunc.c
@@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(sfunc, LOG_LEVEL_INF);
19
NET_BUF_POOL_FIXED_DEFINE(sfunc_pool,
20
1, 0, sizeof(struct udc_buf_info), NULL);
21
22
-static uint8_t __aligned(sizeof(void *)) sfunc_buf[512];
+UDC_STATIC_BUF_DEFINE(sfunc_buf, 512);
23
24
struct sfunc_desc {
25
struct usb_if_descriptor if0;
0 commit comments