mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/saml21-xpro: fix attr order in i2c_config
This commit is contained in:
parent
d698919589
commit
f727761fa2
@ -112,8 +112,8 @@ static const i2c_conf_t i2c_config[] = {
|
|||||||
{
|
{
|
||||||
.dev = &(SERCOM2->I2CM),
|
.dev = &(SERCOM2->I2CM),
|
||||||
.speed = I2C_SPEED_NORMAL,
|
.speed = I2C_SPEED_NORMAL,
|
||||||
.sda_pin = GPIO_PIN(PA, 8),
|
|
||||||
.scl_pin = GPIO_PIN(PA, 9),
|
.scl_pin = GPIO_PIN(PA, 9),
|
||||||
|
.sda_pin = GPIO_PIN(PA, 8),
|
||||||
.mux = GPIO_MUX_D,
|
.mux = GPIO_MUX_D,
|
||||||
.gclk_src = GCLK_PCHCTRL_GEN_GCLK0,
|
.gclk_src = GCLK_PCHCTRL_GEN_GCLK0,
|
||||||
.flags = I2C_FLAG_NONE
|
.flags = I2C_FLAG_NONE
|
||||||
|
Loading…
Reference in New Issue
Block a user