mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:12:45 +01:00
drivers/bh1750fvi: remove unused clock param
This commit is contained in:
parent
27f8924bed
commit
df52d6b1b8
@ -36,14 +36,10 @@ extern "C" {
|
||||
#ifndef BH1750FVI_PARAM_ADDR
|
||||
#define BH1750FVI_PARAM_ADDR (BH1750FVI_DEFAULT_ADDR)
|
||||
#endif
|
||||
#ifndef BH1750FVI_PARAM_I2C_CLK
|
||||
#define BH1750FVI_PARAM_I2C_CLK (BH1750FVI_I2C_MAX_CLK)
|
||||
#endif
|
||||
|
||||
#ifndef BH1750FVI_PARAMS
|
||||
#define BH1750FVI_PARAMS { .i2c = BH1750FVI_PARAM_I2C, \
|
||||
.addr = BH1750FVI_PARAM_ADDR, \
|
||||
.clk = BH1750FVI_PARAM_I2C_CLK }
|
||||
.addr = BH1750FVI_PARAM_ADDR }
|
||||
#endif
|
||||
/**@}*/
|
||||
|
||||
|
@ -69,7 +69,6 @@ typedef struct {
|
||||
typedef struct {
|
||||
i2c_t i2c; /**< I2C bus the device is connected to */
|
||||
uint8_t addr; /**< slave address of the device */
|
||||
i2c_speed_t clk; /**< clock speed to use on the I2C bus */
|
||||
} bh1750fvi_params_t;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user