1
0
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:
Francisco Molina 2020-03-30 16:09:18 +02:00
parent e738508308
commit 8437673237
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8

View File

@ -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)