Skip to content

Commit

Permalink
Merge pull request #20856 from dylad/pr/cpu/saml1x/compat_headers
Browse files Browse the repository at this point in the history
boards/saml1x: convert bitfields to new masks name
  • Loading branch information
benpicco authored Sep 13, 2024
2 parents 870fe04 + 82ce32e commit 0cea359
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boards/common/saml1x/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 0cea359

Please sign in to comment.