mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
boards/arduino-zero: fix order in struct
C++ requires to init struct attributes in order of there definition in the respective struct.
This commit is contained in:
parent
0b9a54f184
commit
7c2404cd88
@ -205,8 +205,8 @@ static const i2c_conf_t i2c_config[] = {
|
||||
{
|
||||
.dev = &(SERCOM3->I2CM),
|
||||
.speed = I2C_SPEED_FAST,
|
||||
.sda_pin = GPIO_PIN(PA, 22),
|
||||
.scl_pin = GPIO_PIN(PA, 23),
|
||||
.sda_pin = GPIO_PIN(PA, 22),
|
||||
.mux = GPIO_MUX_C,
|
||||
.gclk_src = GCLK_CLKCTRL_GEN_GCLK0,
|
||||
.flags = I2C_FLAG_NONE
|
||||
|
Loading…
Reference in New Issue
Block a user