Commit d784bdd3232472f44a1c49c78f68912b109f849c
authorMichel Pollet <buserror@gmail.com>
Sun, 20 Jun 2010 10:25:53 +0000 (11:25 +0100)
committerMichel Pollet <buserror@gmail.com>
Sun, 20 Jun 2010 10:25:53 +0000 (11:25 +0100)
tree35c6fe3a098a670197c241bfec604779e7ba70dc
parent160884eda003b467dfe92cb007c4f25a6cb5e6e1
Message:
timer: Also reconfigure on writing the WGM bits

Some broken code configure the clock source before
setting the waveform bits.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/avr_timer.c