diff --git a/cpu/nrf52/periph/i2c.c b/cpu/nrf52/periph/i2c.c index ece7ab5bbfca..873193a2ef03 100644 --- a/cpu/nrf52/periph/i2c.c +++ b/cpu/nrf52/periph/i2c.c @@ -47,8 +47,7 @@ static mutex_t locks[I2C_NUMOF]; static inline NRF_TWIM_Type *bus(i2c_t dev) { - (void) dev; - return i2c_config[0].dev; + return i2c_config[dev].dev; } static int finish(i2c_t dev)