diff options
Diffstat (limited to 'board/kappa/board.c')
-rw-r--r-- | board/kappa/board.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/board/kappa/board.c b/board/kappa/board.c index 80f4a2522a..f3c17f32c3 100644 --- a/board/kappa/board.c +++ b/board/kappa/board.c @@ -83,7 +83,14 @@ const struct i2c_port_t i2c_ports[] = { const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); const struct i2c_port_t i2c_bitbang_ports[] = { - {"battery", 2, 100, GPIO_I2C3_SCL, GPIO_I2C3_SDA, .drv = &bitbang_drv}, + { + .name = "battery", + .port = 2, + .kbps = 100, + .scl = GPIO_I2C3_SCL, + .sda = GPIO_I2C3_SDA, + .drv = &bitbang_drv + }, }; const unsigned int i2c_bitbang_ports_used = ARRAY_SIZE(i2c_bitbang_ports); |