Commit 72048849474c59a70f1148dd41c6f4be9a36a02d
authorKyrylo Yatsenko <kyrylo.yatsenko@hedrok.org>
Tue, 14 Oct 2014 13:35:38 +0000 (16:35 +0300)
committerKyrylo Yatsenko <kyrylo.yatsenko@hedrok.org>
Tue, 14 Oct 2014 13:47:25 +0000 (16:47 +0300)
tree26045c1f16ec1b4b9da7880a93821f9837ebdb88
parenta8765fece3c681fb7fc8f00869c4f3c9993beaf7
Message:
Fixes in avr_timer_reconfigure after refactoring

Several fixes after fcce7868a2fe2ef028b7f6c1741a12380b82a9cc:
- Remove zeroing of mode in which erased mode
  seleced in avr_timer_write
- Fix wrong brackets in ?: in avr_timer_wgm_pwm mode
simavr/sim/avr_timer.c