mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
boards/sodaq-explorer: fix attr order in i2c_config
This commit is contained in:
parent
75d7bcb26a
commit
813030ddf5
@ -200,8 +200,8 @@ static const i2c_conf_t i2c_config[] = {
|
||||
{
|
||||
.dev = &(SERCOM1->I2CM),
|
||||
.speed = I2C_SPEED_NORMAL,
|
||||
.sda_pin = GPIO_PIN(PA, 16),
|
||||
.scl_pin = GPIO_PIN(PA, 17),
|
||||
.sda_pin = GPIO_PIN(PA, 16),
|
||||
.mux = GPIO_MUX_C,
|
||||
.gclk_src = GCLK_CLKCTRL_GEN_GCLK0,
|
||||
.flags = I2C_FLAG_NONE,
|
||||
@ -209,8 +209,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_C,
|
||||
.gclk_src = GCLK_CLKCTRL_GEN_GCLK0,
|
||||
.flags = I2C_FLAG_NONE
|
||||
|
Loading…
Reference in New Issue
Block a user