mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/efm32: update channel_numof
The number of channels per timer got updated incorrectly in #15368. Only TIMER1 and higher have four channels. Without this fix, timer initialization will halt.
This commit is contained in:
parent
fe941ac9fe
commit
67e7a14e6c
@ -148,7 +148,7 @@ static const timer_conf_t timer_config[] = {
|
||||
.cmu = cmuClock_TIMER1
|
||||
},
|
||||
.irq = TIMER1_IRQn,
|
||||
.channel_numof = 4
|
||||
.channel_numof = 3
|
||||
},
|
||||
{
|
||||
.prescaler = {
|
||||
|
@ -125,7 +125,7 @@ static const timer_conf_t timer_config[] = {
|
||||
.cmu = cmuClock_TIMER1
|
||||
},
|
||||
.irq = TIMER1_IRQn,
|
||||
.channel_numof = 4
|
||||
.channel_numof = 3
|
||||
},
|
||||
{
|
||||
.prescaler = {
|
||||
|
@ -155,7 +155,7 @@ static const timer_conf_t timer_config[] = {
|
||||
.cmu = cmuClock_TIMER1
|
||||
},
|
||||
.irq = TIMER1_IRQn,
|
||||
.channel_numof = 4
|
||||
.channel_numof = 3
|
||||
},
|
||||
{
|
||||
.prescaler = {
|
||||
|
@ -146,7 +146,7 @@ static const timer_conf_t timer_config[] = {
|
||||
.cmu = cmuClock_WTIMER1
|
||||
},
|
||||
.irq = WTIMER1_IRQn,
|
||||
.channel_numof = 4
|
||||
.channel_numof = 3
|
||||
},
|
||||
{
|
||||
.prescaler = {
|
||||
@ -158,7 +158,7 @@ static const timer_conf_t timer_config[] = {
|
||||
.cmu = cmuClock_TIMER1
|
||||
},
|
||||
.irq = TIMER1_IRQn,
|
||||
.channel_numof = 4
|
||||
.channel_numof = 3
|
||||
},
|
||||
{
|
||||
.prescaler = {
|
||||
|
@ -155,7 +155,7 @@ static const timer_conf_t timer_config[] = {
|
||||
.cmu = cmuClock_TIMER1
|
||||
},
|
||||
.irq = TIMER1_IRQn,
|
||||
.channel_numof = 4
|
||||
.channel_numof = 3
|
||||
},
|
||||
{
|
||||
.prescaler = {
|
||||
|
Loading…
Reference in New Issue
Block a user