From b24dca2cefbc933cfb93ed003894fe597728b7ff Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Wed, 4 Sep 2013 08:41:26 +0100 Subject: [PATCH] megax8: Added a couple of timer modes Pretty obvious timer modes were missing... Signed-off-by: Michel Pollet --- simavr/cores/sim_megax8.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simavr/cores/sim_megax8.h b/simavr/cores/sim_megax8.h index 51f2d24..b0bc336 100644 --- a/simavr/cores/sim_megax8.h +++ b/simavr/cores/sim_megax8.h @@ -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(), -- 2.39.5