1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nrf52-based: updated I2C configuration

This commit is contained in:
Hauke Petersen 2018-01-19 22:10:01 +01:00
parent b1efc39348
commit 2b2accf0cc
2 changed files with 6 additions and 6 deletions

View File

@ -102,9 +102,9 @@ static const spi_conf_t spi_config[] = {
*/
static const i2c_conf_t i2c_config[] = {
{
.dev = NRF_TWIM0,
.pin_scl = 28,
.pin_sda = 29
.dev = NRF_TWIM1,
.scl = 28,
.sda = 29
}
};

View File

@ -99,9 +99,9 @@ static const spi_conf_t spi_config[] = {
*/
static const i2c_conf_t i2c_config[] = {
{
.dev = NRF_TWIM0,
.pin_scl = 28,
.pin_sda = 29
.dev = NRF_TWIM1,
.scl = 28,
.sda = 29
}
};