mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers: don't call i2c_init()
This is already called by periph_init()
This commit is contained in:
parent
1f5e2c7214
commit
85b2decafa
@ -109,8 +109,6 @@ int aip31068_init(aip31068_t *dev, const aip31068_params_t *params)
|
||||
dev->_curr_display_control = 0;
|
||||
dev->_curr_entry_mode_set = 0;
|
||||
|
||||
i2c_init(dev->params.i2c_dev);
|
||||
|
||||
uint8_t _function_set = 0;
|
||||
|
||||
/* configure bit mode */
|
||||
|
@ -66,8 +66,6 @@ int pca9633_init(pca9633_t *dev, const pca9633_params_t *params)
|
||||
|
||||
dev->params = *params;
|
||||
|
||||
i2c_init(dev->params.i2c_dev);
|
||||
|
||||
int rc = _write_reg(dev, PCA9633_REG_MODE1, 0x0);
|
||||
_write_reg(dev, PCA9633_REG_MODE2, 0x0);
|
||||
|
||||
|
@ -55,7 +55,6 @@ int sdp3x_init(sdp3x_t *dev, const sdp3x_params_t *params)
|
||||
dev->params = *params;
|
||||
dev->continuous_measurement = false;
|
||||
|
||||
i2c_init(DEV_I2C);
|
||||
sdp3x_soft_reset(dev);
|
||||
|
||||
/* try to read product number to check if sensor is connected and working */
|
||||
|
Loading…
Reference in New Issue
Block a user