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
...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment