Commit 248a15167a3d116da59b493dbd381706b5dd5370
authorSami Liedes <sliedes@cc.hut.fi>
Wed, 2 Feb 2011 17:23:45 +0000 (19:23 +0200)
committerSami Liedes <sliedes@cc.hut.fi>
Wed, 2 Feb 2011 20:53:04 +0000 (22:53 +0200)
Arduino seems to use that.

simavr/sim/avr_timer.c

index f0199522bbaa7d7556306afb8fe29d88bf0c4d07..ae163088ee2c4d3a9075d2adabe765b47f56b7dc 100644 (file)
@@ -259,7 +259,7 @@ static void avr_timer_reconfigure(avr_timer_t * p)
                        avr_timer_configure(p, f, top);
                }       break;
                case avr_timer_wgm_fast_pwm:
-               //      avr_timer_configure(p, f, (1 << p->mode.size) - 1);
+                       avr_timer_configure(p, f, (1 << p->mode.size) - 1);
                        break;
                default:
                        printf("%s-%c unsupported timer mode wgm=%d (%d)\n", __FUNCTION__, p->name, mode, p->mode.kind);