From 8f568a4eb97eac6d9bd9b1fbfa6bc5704ff2c1a7 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 3 May 2020 02:56:16 +0200 Subject: [PATCH] boards/feather-m0: update PWM config --- boards/feather-m0/include/periph_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/feather-m0/include/periph_conf.h b/boards/feather-m0/include/periph_conf.h index adaccac4fc..0af11c8d6c 100644 --- a/boards/feather-m0/include/periph_conf.h +++ b/boards/feather-m0/include/periph_conf.h @@ -170,10 +170,10 @@ static const pwm_conf_chan_t pwm_chan1_config[] = { /* PWM device configuration */ static const pwm_conf_t pwm_config[] = { #if PWM_0_EN - {TCC0, pwm_chan0_config, ARRAY_SIZE(pwm_chan0_config)}, + {TCC_CONFIG(TCC0), pwm_chan0_config, ARRAY_SIZE(pwm_chan0_config), SAM0_GCLK_MAIN}, #endif #if PWM_1_EN - {TCC2, pwm_chan1_config, ARRAY_SIZE(pwm_chan1_config)}, + {TCC_CONFIG(TCC2), pwm_chan1_config, ARRAY_SIZE(pwm_chan1_config), SAM0_GCLK_MAIN}, #endif };