mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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
|
||||
#define DS1307_PARAM_I2C (I2C_DEV(0))
|
||||
#endif
|
||||
#ifndef DS1307_PARAM_I2C_CLK
|
||||
#define DS1307_PARAM_I2C_CLK (DS1307_I2C_MAX_CLK)
|
||||
#endif
|
||||
|
||||
#ifndef DS1307_PARAMS
|
||||
#define DS1307_PARAMS { .i2c = DS1307_PARAM_I2C, \
|
||||
.clk = DS1307_PARAM_I2C_CLK }
|
||||
#define DS1307_PARAMS { .i2c = DS1307_PARAM_I2C }
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
|
@ -63,7 +63,6 @@ typedef struct {
|
||||
*/
|
||||
typedef struct {
|
||||
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;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user