forked from mfulz_github/qmk_firmware
Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting functions.
This commit is contained in:
parent
cd57e855f6
commit
46f2e488b0
|
@ -409,7 +409,7 @@
|
||||||
*/
|
*/
|
||||||
static inline void Endpoint_AbortPendingIN(void)
|
static inline void Endpoint_AbortPendingIN(void)
|
||||||
{
|
{
|
||||||
while (UESTA0X & (0x03 << NBUSYBK))
|
while (UESTA0X & (0x03 << NBUSYBK0))
|
||||||
{
|
{
|
||||||
UEINTX |= (1 << RXOUTI);
|
UEINTX |= (1 << RXOUTI);
|
||||||
while (UEINTX & (1 << RXOUTI));
|
while (UEINTX & (1 << RXOUTI));
|
||||||
|
@ -426,7 +426,7 @@
|
||||||
*/
|
*/
|
||||||
static inline uint8_t Endpoint_GetBusyBanks(void)
|
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
|
/** Determines if the currently selected endpoint may be read from (if data is waiting in the endpoint
|
||||||
|
|
|
@ -463,7 +463,7 @@
|
||||||
*/
|
*/
|
||||||
static inline uint8_t Pipe_GetBusyBanks(void)
|
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
|
/** Determines if the currently selected pipe may be read from (if data is waiting in the pipe
|
||||||
|
|
Loading…
Reference in New Issue