diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-02 19:34:10 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-02 19:34:10 +0000 |
commit | 0d888458e17a57473e2d41229302ab401a815545 (patch) | |
tree | 8220122bb6fe1444b85e92c193f34cd57695d8c0 /LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c | |
parent | 85579e12e487c50fc813aec2894f29fa2c27d9d0 (diff) | |
download | lufa-0d888458e17a57473e2d41229302ab401a815545.tar.gz lufa-0d888458e17a57473e2d41229302ab401a815545.tar.bz2 lufa-0d888458e17a57473e2d41229302ab401a815545.zip |
Fix incorrect bank mask in Endpoint_ConfigureEndpoint() for the UC3 devices.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c index c027585a6..f0f319db3 100644 --- a/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c +++ b/LUFA/Drivers/USB/Core/UC3/Endpoint_UC3.c @@ -65,7 +65,7 @@ bool Endpoint_ConfigureEndpointTable(const USB_Endpoint_Table_t* const Table, bool Endpoint_ConfigureEndpoint_Prv(const uint8_t Number, const uint32_t UECFG0Data) { - USB_Endpoint_FIFOPos[Number] = &AVR32_USBB_SLAVE[Number * 0x10000]; + USB_Endpoint_FIFOPos[Number] = &AVR32_USBB_SLAVE[Number * ENDPOINT_HSB_ADDRESS_SPACE_SIZE]; #if defined(CONTROL_ONLY_DEVICE) || defined(ORDERED_EP_CONFIG) Endpoint_SelectEndpoint(Number); |