Added support for Atmega1284p.
This commit is contained in:
@@ -161,6 +161,5 @@ void timer_init(
|
||||
TCNT2 = TIMER2_COUNT;
|
||||
/* Enable the overflow interrupt */
|
||||
BIT_SET(TIMSK2, TOIE2);
|
||||
/* Clear the Power Reduction Timer/Counter0 */
|
||||
BIT_CLEAR(PRR, PRTIM2);
|
||||
power_timer2_enable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user