Skip to content
Snippets Groups Projects
Commit df52d6b1 authored by Michel Rottleuthner's avatar Michel Rottleuthner Committed by dylad
Browse files

drivers/bh1750fvi: remove unused clock param

parent 27f8924b
No related branches found
No related tags found
No related merge requests found
...@@ -36,14 +36,10 @@ extern "C" { ...@@ -36,14 +36,10 @@ extern "C" {
#ifndef BH1750FVI_PARAM_ADDR #ifndef BH1750FVI_PARAM_ADDR
#define BH1750FVI_PARAM_ADDR (BH1750FVI_DEFAULT_ADDR) #define BH1750FVI_PARAM_ADDR (BH1750FVI_DEFAULT_ADDR)
#endif #endif
#ifndef BH1750FVI_PARAM_I2C_CLK
#define BH1750FVI_PARAM_I2C_CLK (BH1750FVI_I2C_MAX_CLK)
#endif
#ifndef BH1750FVI_PARAMS #ifndef BH1750FVI_PARAMS
#define BH1750FVI_PARAMS { .i2c = BH1750FVI_PARAM_I2C, \ #define BH1750FVI_PARAMS { .i2c = BH1750FVI_PARAM_I2C, \
.addr = BH1750FVI_PARAM_ADDR, \ .addr = BH1750FVI_PARAM_ADDR }
.clk = BH1750FVI_PARAM_I2C_CLK }
#endif #endif
/**@}*/ /**@}*/
......
...@@ -69,7 +69,6 @@ typedef struct { ...@@ -69,7 +69,6 @@ typedef struct {
typedef struct { typedef struct {
i2c_t i2c; /**< I2C bus the device is connected to */ i2c_t i2c; /**< I2C bus the device is connected to */
uint8_t addr; /**< slave address of the device */ uint8_t addr; /**< slave address of the device */
i2c_speed_t clk; /**< clock speed to use on the I2C bus */
} bh1750fvi_params_t; } bh1750fvi_params_t;
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment