Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ArduinoCore-avr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
ArduinoCore-avr
Commits
5e146c41
Commit
5e146c41
authored
Jul 14, 2016
by
Martino Facchin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AVR][USB] fix IRQ flags clearing
parent
2717fbe0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cores/arduino/USBCore.cpp
cores/arduino/USBCore.cpp
+1
-1
No files found.
cores/arduino/USBCore.cpp
View file @
5e146c41
...
...
@@ -733,7 +733,7 @@ static inline void USB_ClockEnable()
ISR
(
USB_GEN_vect
)
{
u8
udint
=
UDINT
;
UDINT
=
UDINT
&=
~
((
1
<<
EORSTI
)
|
(
1
<<
SOFI
));
// clear the IRQ flags for the IRQs which are handled here, except WAKEUPI and SUSPI (see below)
UDINT
&=
~
((
1
<<
EORSTI
)
|
(
1
<<
SOFI
));
// clear the IRQ flags for the IRQs which are handled here, except WAKEUPI and SUSPI (see below)
// End of Reset
if
(
udint
&
(
1
<<
EORSTI
))
...
...
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