summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland <[email protected]>2022-02-01 23:49:20 +0100
committerRoland <[email protected]>2022-02-01 23:49:20 +0100
commit7beb92864eed38ed9d8e3d2e6e1ad7323ca861e5 (patch)
tree824d9b18356919520cf5526bcc6411d08f2a32cf
parente1f0c484c628fd9f2b66ef517a2fda9ace75dce0 (diff)
parentc6cde724f617c73b827e7b2a1229e21aefc78ff3 (diff)
Merge branch 'CCRX_Ext' of https://github.com/Wini-Buh/tinyusb into CCRX_Ext
-rw-r--r--README.rst2
-rw-r--r--src/portable/ohci/ohci.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index f21cd9bca..8cf4a98da 100644
--- a/README.rst
+++ b/README.rst
@@ -91,7 +91,7 @@ TinyUSB is completely thread-safe by pushing all Interrupt Service Request (ISR)
- **No OS**
- **FreeRTOS**
-- `RT-Thread <https://github.com/RT-Thread/rt-thread>`_
+- `RT-Thread <https://github.com/RT-Thread/rt-thread>`_: `repo <https://github.com/RT-Thread-packages/tinyusb>`_
- **Mynewt** Due to the newt package build system, Mynewt examples are better to be on its `own repo <https://github.com/hathach/mynewt-tinyusb-example>`_
Local Docs
diff --git a/src/portable/ohci/ohci.h b/src/portable/ohci/ohci.h
index cd90aa45a..8db097b06 100644
--- a/src/portable/ohci/ohci.h
+++ b/src/portable/ohci/ohci.h
@@ -159,7 +159,7 @@ typedef struct TU_ATTR_ALIGNED(256)
struct {
ohci_ed_t ed;
ohci_gtd_t gtd;
- }control[CFG_TUH_DEVICE_MAX+1];
+ }control[CFG_TUH_DEVICE_MAX+CFG_TUH_HUB+1];
// ochi_itd_t itd[OHCI_MAX_ITD]; // itd requires alignment of 32
ohci_ed_t ed_pool[HCD_MAX_ENDPOINT];