boards/hamilton: update PWM config
This commit is contained in:
parent
8f568a4eb9
commit
6e9e9cd6ad
@ -201,10 +201,10 @@ static const pwm_conf_chan_t pwm_chan1_config[] = {
|
|||||||
/* PWM device configuration */
|
/* PWM device configuration */
|
||||||
static const pwm_conf_t pwm_config[] = {
|
static const pwm_conf_t pwm_config[] = {
|
||||||
#if PWM_0_EN
|
#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
|
#endif
|
||||||
#if PWM_1_EN
|
#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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user