ethersex/ethersex — pull request #159 by atos868 (2012-07-14 08:00:13+00:00)
Title: TC1_MODE_CTC for ATMega1284P fixed

TC1 has additional WGM13 bit, and bits WGM10..WGM12 have different functionality from TC0. Seems as if TC1_MODE* definitions had been copied from TC0_MODE_*. TC1_MODE_CTC was defined as WGM=2 and should be 4. For TC1_MODE_PWMFAST, I don't know what value to use - can someone please have a look at that? 8-bit fast PWM should be OK but I'm not sure.

Did really nobody else notice that bug: time was running too fast on ATMega1284P since august 2011, I think.