aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-10-29 06:50:56 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-10-29 06:50:56 +0000
commit46f2e488b0508d12be63b14213b8e0499eb01fc0 (patch)
tree932437411e096e50548a3f8bffcdce24168cf8d6 /LUFA/Drivers/USB/LowLevel/Endpoint.h
parentcd57e855f6bfbd278c5bcaa830debd8b659776dd (diff)
downloadlufa-46f2e488b0508d12be63b14213b8e0499eb01fc0.tar.gz
lufa-46f2e488b0508d12be63b14213b8e0499eb01fc0.tar.bz2
lufa-46f2e488b0508d12be63b14213b8e0499eb01fc0.zip
Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting functions.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.h')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h
index 75c887761..ea2e8cc53 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.h
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.h
@@ -409,7 +409,7 @@
*/
static inline void Endpoint_AbortPendingIN(void)
{
- while (UESTA0X & (0x03 << NBUSYBK))
+ while (UESTA0X & (0x03 << NBUSYBK0))
{
UEINTX |= (1 << RXOUTI);
while (UEINTX & (1 << RXOUTI));
@@ -426,7 +426,7 @@
*/
static inline uint8_t Endpoint_GetBusyBanks(void)
{
- return (UESTA0X & (0x03 << NBUSYBK));
+ return (UESTA0X & (0x03 << NBUSYBK0));
}
/** Determines if the currently selected endpoint may be read from (if data is waiting in the endpoint