Rahix / avr-device

Register access crate for AVR microcontrollers
Apache License 2.0
170 stars 66 forks source link

Use the same timer patch for atmega1280 as for atmega2560 #99

Closed dalpil closed 2 years ago

dalpil commented 2 years ago

It seems like the timer patch for the atmega2560 is applicable for the atmega1280 as well, unless I'm mistaken.

I stumbled over the lack of timer patches for the atmega1280 while working on https://github.com/Rahix/avr-hal/pull/272 , this PR should fix this by using the same patch for the 1280 as for the 2560.

As far as I can tell the only difference between the two MCU's seems to be the amount of flash memory available(?).