mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Added CFG_TUSB_MEM_SECTION define to struct _ctrl_xfer in usbh.c
This commit is contained in:
parent
ae588d796e
commit
c31b95c916
@ -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
|
// Control transfer: since most controller does not support multiple control transfer
|
||||||
// on multiple devices concurrently. And control transfer is not used much except enumeration
|
// on multiple devices concurrently. And control transfer is not used much except enumeration
|
||||||
// We will only execute control transfer one at a time.
|
// We will only execute control transfer one at a time.CFG_TUSB_MEM_SECTION TU_ATTR_ALIGNED(4096)
|
||||||
struct
|
CFG_TUSB_MEM_SECTION struct
|
||||||
{
|
{
|
||||||
tusb_control_request_t request TU_ATTR_ALIGNED(4);
|
tusb_control_request_t request TU_ATTR_ALIGNED(4);
|
||||||
uint8_t* buffer;
|
uint8_t* buffer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user