mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/common/cc2538/include: re-order timer config
This commit is contained in:
parent
e738508308
commit
8437673237
@ -41,10 +41,6 @@ static const timer_conf_t timer_config[] = {
|
||||
.chn = 2,
|
||||
.cfg = GPTMCFG_16_BIT_TIMER, /* required for XTIMER */
|
||||
},
|
||||
{
|
||||
.chn = 1,
|
||||
.cfg = GPTMCFG_32_BIT_TIMER,
|
||||
},
|
||||
{
|
||||
.chn = 2,
|
||||
.cfg = GPTMCFG_16_BIT_TIMER,
|
||||
@ -53,6 +49,10 @@ static const timer_conf_t timer_config[] = {
|
||||
.chn = 1,
|
||||
.cfg = GPTMCFG_32_BIT_TIMER,
|
||||
},
|
||||
{
|
||||
.chn = 1,
|
||||
.cfg = GPTMCFG_32_BIT_TIMER,
|
||||
},
|
||||
};
|
||||
|
||||
#define TIMER_NUMOF ARRAY_SIZE(timer_config)
|
||||
|
Loading…
Reference in New Issue
Block a user