diff options
author | David Madison <dmadison@users.noreply.github.com> | 2019-02-21 13:27:40 -0500 |
---|---|---|
committer | David Madison <dmadison@users.noreply.github.com> | 2019-02-21 13:27:40 -0500 |
commit | fc18d5330ee7f3b7dc3ebc3f7e12a876464182ad (patch) | |
tree | eb113e93c3c9d5be8fa718c16b67d28da91cd3ef /cores | |
parent | a4453c563cedb1c57dd10d189aa792b8e84d3feb (diff) |
Change receive endpoint to double-banked
No reason not to take advantage of this feature, although with the interrupt in place I doubt it will be useful.
Diffstat (limited to 'cores')
-rw-r--r-- | cores/arduino/USBCore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp index aa52243..6e820a1 100644 --- a/cores/arduino/USBCore.cpp +++ b/cores/arduino/USBCore.cpp @@ -355,7 +355,7 @@ static void InitEndpoints() { InitEPSize(XINPUT_TX_ENDPOINT, EP_TYPE_INTERRUPT_IN, 1, 32); // Control Data Send - InitEPSize(XINPUT_RX_ENDPOINT, EP_TYPE_INTERRUPT_OUT, 1, 32); // Control Data Receive + InitEPSize(XINPUT_RX_ENDPOINT, EP_TYPE_INTERRUPT_OUT, 2, 32); // Control Data Receive InitEPSize(5, EP_TYPE_INTERRUPT_IN, 1, 32); // Expansion Interface NACK (avoid config reset) UERST = 0x7E; // Reset endpoints |