drivers/ds1307: remove unused clock param
This commit is contained in:
parent
1362289daf
commit
2e6ff0f197
@ -32,13 +32,9 @@ extern "C" {
|
|||||||
#ifndef DS1307_PARAM_I2C
|
#ifndef DS1307_PARAM_I2C
|
||||||
#define DS1307_PARAM_I2C (I2C_DEV(0))
|
#define DS1307_PARAM_I2C (I2C_DEV(0))
|
||||||
#endif
|
#endif
|
||||||
#ifndef DS1307_PARAM_I2C_CLK
|
|
||||||
#define DS1307_PARAM_I2C_CLK (DS1307_I2C_MAX_CLK)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef DS1307_PARAMS
|
#ifndef DS1307_PARAMS
|
||||||
#define DS1307_PARAMS { .i2c = DS1307_PARAM_I2C, \
|
#define DS1307_PARAMS { .i2c = DS1307_PARAM_I2C }
|
||||||
.clk = DS1307_PARAM_I2C_CLK }
|
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|||||||
@ -63,7 +63,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 */
|
||||||
i2c_speed_t clk; /**< clock speed to use on the I2C bus */
|
|
||||||
} ds1307_params_t;
|
} ds1307_params_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user