Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lufa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Erik Strand
lufa
Commits
46f2e488
Commit
46f2e488
authored
Oct 29, 2010
by
Dean Camera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops - typos in the naming of the NBUSYBK0 bits breaking the new busy bank counting functions.
parent
cd57e855
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
LUFA/Drivers/USB/LowLevel/Endpoint.h
LUFA/Drivers/USB/LowLevel/Endpoint.h
+2
-2
LUFA/Drivers/USB/LowLevel/Pipe.h
LUFA/Drivers/USB/LowLevel/Pipe.h
+1
-1
No files found.
LUFA/Drivers/USB/LowLevel/Endpoint.h
View file @
46f2e488
...
...
@@ -409,7 +409,7 @@
*/
static
inline
void
Endpoint_AbortPendingIN
(
void
)
{
while
(
UESTA0X
&
(
0x03
<<
NBUSYBK
))
while
(
UESTA0X
&
(
0x03
<<
NBUSYBK
0
))
{
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
<<
NBUSYBK
0
));
}
/** Determines if the currently selected endpoint may be read from (if data is waiting in the endpoint
...
...
LUFA/Drivers/USB/LowLevel/Pipe.h
View file @
46f2e488
...
...
@@ -463,7 +463,7 @@
*/
static
inline
uint8_t
Pipe_GetBusyBanks
(
void
)
{
return
(
UPSTAX
&
(
0x03
<<
NBUSYBK
));
return
(
UPSTAX
&
(
0x03
<<
NBUSYBK
0
));
}
/** Determines if the currently selected pipe may be read from (if data is waiting in the pipe
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment