Correctly set timer1's ICP on atmega8, atmega16 and atmega32.
Merge pull request #37 from ppd1990/atmega-icp

Correctly set timer1's ICP on atmega8, atmega16 and atmega32.