Added support for Atmega1284p.

This commit is contained in:
skarg
2012-10-31 04:06:18 +00:00
parent fa12f4bcdf
commit cde2d61d92
8 changed files with 50 additions and 28 deletions
+1 -2
View File
@@ -167,6 +167,5 @@ void adc_init(
1 1 1 Timer/Counter1 Capture Event
*/
ADCSRB = (0 << ADTS2) | (0 << ADTS1) | (0 << ADTS0);
/* Clear the Power Reduction bit */
BIT_CLEAR(PRR, PRADC);
power_adc_enable();
}