1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

boards/samd21-xpro: fix attr order in i2c_config

This commit is contained in:
smlng 2018-07-13 11:20:47 +02:00 committed by dylad
parent 4abf93fcc8
commit d698919589

View File

@ -244,8 +244,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_CLKCTRL_GEN_GCLK0,
.flags = I2C_FLAG_NONE