diff options
| author | pete-pjb <[email protected]> | 2022-12-01 17:53:35 +0000 |
|---|---|---|
| committer | pete-pjb <[email protected]> | 2022-12-01 17:53:35 +0000 |
| commit | c31b95c91652f58b8b991a5481c9f7c37be7f09a (patch) | |
| tree | a94e946d70e992583cee9b26742dc9f3fe2f74e5 /src | |
| parent | ae588d796e1b035c7efd582a4e4f3fc28b3a5ac0 (diff) | |
Added CFG_TUSB_MEM_SECTION define to struct _ctrl_xfer in usbh.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/host/usbh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index a90b54924..f28554b81 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -246,8 +246,8 @@ static uint8_t _usbh_ctrl_buf[CFG_TUH_ENUMERATION_BUFSIZE]; // Control transfer: since most controller does not support multiple control transfer // on multiple devices concurrently. And control transfer is not used much except enumeration -// We will only execute control transfer one at a time. -struct +// We will only execute control transfer one at a time.CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4096) +CFG_TUSB_MEM_SECTION struct { tusb_control_request_t request TU_ATTR_ALIGNED(4); uint8_t* buffer; |
