diff --git a/boards/sodaq-autonomo/include/periph_conf.h b/boards/sodaq-autonomo/include/periph_conf.h index f44adb8e30..4e0d13f66f 100644 --- a/boards/sodaq-autonomo/include/periph_conf.h +++ b/boards/sodaq-autonomo/include/periph_conf.h @@ -171,10 +171,10 @@ static const pwm_conf_chan_t pwm_chan1_config[] = { /* PWM device configuration */ static const pwm_conf_t pwm_config[] = { #if PWM_0_EN - {TCC1, pwm_chan0_config, ARRAY_SIZE(pwm_chan0_config)}, + {TCC_CONFIG(TCC1), pwm_chan0_config, ARRAY_SIZE(pwm_chan0_config), SAM0_GCLK_MAIN}, #endif #if PWM_1_EN - {TCC0, pwm_chan1_config, ARRAY_SIZE(pwm_chan1_config)}, + {TCC_CONFIG(TCC0), pwm_chan1_config, ARRAY_SIZE(pwm_chan1_config), SAM0_GCLK_MAIN}, #endif };