Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
a926053a
Commit
a926053a
authored
May 04, 2010
by
Dean Camera
Browse files
Fix up the ADC driver for the U4 parts to remove a typo on one of the register names.
parent
ab8668b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
LUFA/Drivers/Peripheral/AVRU4U6U7/ADC.h
View file @
a926053a
...
...
@@ -303,9 +303,9 @@
#if (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__DOXYGEN__))
if
(
MUXMask
&
(
1
<<
8
))
ADCSB
|=
(
1
<<
MUX5
);
ADCS
R
B
|=
(
1
<<
MUX5
);
else
ADCSB
&=
~
(
1
<<
MUX5
);
ADCS
R
B
&=
~
(
1
<<
MUX5
);
#endif
ADCSRA
|=
(
1
<<
ADSC
);
...
...
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