diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-10-29 06:50:56 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-10-29 06:50:56 +0000 |
| commit | a8c9e322ae51a46dcbc94121050895461f226af4 (patch) | |
| tree | 932437411e096e50548a3f8bffcdce24168cf8d6 /LUFA | |
| parent | ce73c0ff96e291dbb6b1806b2ad67efd1e070d8a (diff) | |
Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting functions.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1546 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA')
| -rw-r--r-- | LUFA/Drivers/USB/LowLevel/Endpoint.h | 4 | ||||
| -rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.h b/LUFA/Drivers/USB/LowLevel/Endpoint.h index 75c88776..ea2e8cc5 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 diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.h b/LUFA/Drivers/USB/LowLevel/Pipe.h index 53aeb1fd..0e877f62 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.h +++ b/LUFA/Drivers/USB/LowLevel/Pipe.h @@ -463,7 +463,7 @@ */ static inline uint8_t Pipe_GetBusyBanks(void) { - return (UPSTAX & (0x03 << NBUSYBK)); + return (UPSTAX & (0x03 << NBUSYBK0)); } /** Determines if the currently selected pipe may be read from (if data is waiting in the pipe |
