timers: don't reconfigure for minor changes
authorMichel Pollet <buserror@gmail.com>
Wed, 16 Feb 2011 00:03:28 +0000 (00:03 +0000)
committerMichel Pollet <buserror@gmail.com>
Wed, 16 Feb 2011 00:03:28 +0000 (00:03 +0000)
commitb778a45f49549badc2980ac79ca18a4ae7b5c5b5
tree244e507cf5457cbbeb2181c0f163a444be55972a
parent5c3675cd3770a69b72bfc6b95429ad6f7aa163aa
timers: don't reconfigure for minor changes

Prevents the timer to be reset when changing non important
bits, like the edge detector etc

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