1
0
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:
smlng 2018-07-13 11:21:02 +02:00 committed by dylad
parent d698919589
commit f727761fa2

View File

@ -112,8 +112,8 @@ static const i2c_conf_t i2c_config[] = {
{
.dev = &(SERCOM2->I2CM),
.speed = I2C_SPEED_NORMAL,
.sda_pin = GPIO_PIN(PA, 8),
.scl_pin = GPIO_PIN(PA, 9),
.sda_pin = GPIO_PIN(PA, 8),
.mux = GPIO_MUX_D,
.gclk_src = GCLK_PCHCTRL_GEN_GCLK0,
.flags = I2C_FLAG_NONE