From 82ce32ee104eccdaa9bdb94af2a02baa838e54cb Mon Sep 17 00:00:00 2001 From: Dylan Laduranty Date: Sun, 8 Sep 2024 15:17:34 +0200 Subject: [PATCH] boards/saml1x: convert bitfields to new masks name Signed-off-by: Dylan Laduranty --- boards/common/saml1x/include/periph_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/common/saml1x/include/periph_conf.h b/boards/common/saml1x/include/periph_conf.h index b8e3e0f0b6..d416c0f633 100644 --- a/boards/common/saml1x/include/periph_conf.h +++ b/boards/common/saml1x/include/periph_conf.h @@ -46,7 +46,7 @@ static const tc32_conf_t timer_config[] = { .dev = TC0, .irq = TC0_IRQn, .mclk = &MCLK->APBCMASK.reg, - .mclk_mask = MCLK_APBCMASK_TC0 | MCLK_APBCMASK_TC1, + .mclk_mask = MCLK_APBCMASK_TC0_Msk | MCLK_APBCMASK_TC1_Msk, .gclk_id = TC0_GCLK_ID, .gclk_src = SAM0_GCLK_MAIN, .flags = TC_CTRLA_MODE_COUNT32, @@ -55,7 +55,7 @@ static const tc32_conf_t timer_config[] = { .dev = TC2, .irq = TC2_IRQn, .mclk = &MCLK->APBCMASK.reg, - .mclk_mask = MCLK_APBCMASK_TC2, + .mclk_mask = MCLK_APBCMASK_TC2_Msk, .gclk_id = TC2_GCLK_ID, .gclk_src = SAM0_GCLK_MAIN, .flags = TC_CTRLA_MODE_COUNT16,