diff options
| author | hathach <[email protected]> | 2021-08-23 15:40:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-23 15:40:57 +0700 |
| commit | a490a3fe616205115ed351ddbc0bd202bcbdc3db (patch) | |
| tree | 0f6696d5702189c9f7b6457dda812659377b37d6 /src/host/usbh.c | |
| parent | 4ca176c291a138f19ecf2426d636609d8c25da06 (diff) | |
add hcd attr, add note for ehci framelist on NXP derivative
Diffstat (limited to 'src/host/usbh.c')
| -rw-r--r-- | src/host/usbh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index 98132a8c0..76c1ba078 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -128,7 +128,8 @@ enum { CONFIG_NUM = 1 }; // default to use configuration 1 static bool _usbh_initialized = false; -// including zero-address +// all devices including hub and zero-address TODO exclude device0 to save space +// hub address start from CFG_TUH_DEVICE_MAX CFG_TUSB_MEM_SECTION usbh_device_t _usbh_devices[CFG_TUH_DEVICE_MAX+1]; // Event queue |
