Commit b24dca2cefbc933cfb93ed003894fe597728b7ff
authorMichel Pollet <buserror@gmail.com>
Wed, 4 Sep 2013 07:41:26 +0000 (08:41 +0100)
committerMichel Pollet <buserror@gmail.com>
Thu, 5 Sep 2013 12:55:51 +0000 (13:55 +0100)
Pretty obvious timer modes were missing...

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/cores/sim_megax8.h

index 51f2d24285295dd0d5414cf019fa34924f241c35..b0bc336bc20a3a46108483bc195923f80528a683 100644 (file)
@@ -227,6 +227,8 @@ const struct mcu_t SIM_CORENAME = {
                        [5] = AVR_TIMER_WGM_FASTPWM8(),
                        [6] = AVR_TIMER_WGM_FASTPWM9(),
                        [7] = AVR_TIMER_WGM_FASTPWM10(),
+                       [8] = AVR_TIMER_WGM_ICPWM(),
+                       [9] = AVR_TIMER_WGM_OCPWM(),
                        [12] = AVR_TIMER_WGM_ICCTC(),
                        [14] = AVR_TIMER_WGM_ICPWM(),
                        [15] = AVR_TIMER_WGM_OCPWM(),