From 6e9e9cd6ad344fd6cc8c635f3b10d2d88c91bc77 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 3 May 2020 02:56:16 +0200 Subject: [PATCH] boards/hamilton: update PWM config --- boards/hamilton/include/periph_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/hamilton/include/periph_conf.h b/boards/hamilton/include/periph_conf.h index 68d8881736..96a02c4693 100644 --- a/boards/hamilton/include/periph_conf.h +++ b/boards/hamilton/include/periph_conf.h @@ -201,10 +201,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 };