Skip to content

Commit c31b95c

Browse files
committed
Added CFG_TUSB_MEM_SECTION define to struct _ctrl_xfer in usbh.c
1 parent ae588d7 commit c31b95c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/host/usbh.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ static uint8_t _usbh_ctrl_buf[CFG_TUH_ENUMERATION_BUFSIZE];
246246

247247
// Control transfer: since most controller does not support multiple control transfer
248248
// on multiple devices concurrently. And control transfer is not used much except enumeration
249-
// We will only execute control transfer one at a time.
250-
struct
249+
// We will only execute control transfer one at a time.CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4096)
250+
CFG_TUSB_MEM_SECTION struct
251251
{
252252
tusb_control_request_t request TU_ATTR_ALIGNED(4);
253253
uint8_t* buffer;

0 commit comments

Comments
 (0)