Skip to content
Snippets Groups Projects
Commit a926053a authored by Dean Camera's avatar 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
No related branches found
No related tags found
No related merge requests found
...@@ -303,9 +303,9 @@ ...@@ -303,9 +303,9 @@
#if (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__DOXYGEN__)) #if (defined(__AVR_ATmega16U4__) || defined(__AVR_ATmega32U4__) || defined(__DOXYGEN__))
if (MUXMask & (1 << 8)) if (MUXMask & (1 << 8))
ADCSB |= (1 << MUX5); ADCSRB |= (1 << MUX5);
else else
ADCSB &= ~(1 << MUX5); ADCSRB &= ~(1 << MUX5);
#endif #endif
ADCSRA |= (1 << ADSC); ADCSRA |= (1 << ADSC);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment