aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorDavid Madison <dmadison@users.noreply.github.com>2019-02-21 13:27:40 -0500
committerDavid Madison <dmadison@users.noreply.github.com>2019-02-21 13:27:40 -0500
commitfc18d5330ee7f3b7dc3ebc3f7e12a876464182ad (patch)
treeeb113e93c3c9d5be8fa718c16b67d28da91cd3ef /cores/arduino
parenta4453c563cedb1c57dd10d189aa792b8e84d3feb (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/arduino')
-rw-r--r--cores/arduino/USBCore.cpp2
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