diff --git a/drivers/ds1307/include/ds1307_params.h b/drivers/ds1307/include/ds1307_params.h index 027e3b6d85..afe71ab3df 100644 --- a/drivers/ds1307/include/ds1307_params.h +++ b/drivers/ds1307/include/ds1307_params.h @@ -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 /** @} */ diff --git a/drivers/include/ds1307.h b/drivers/include/ds1307.h index 93b785d0ee..c3384670c7 100644 --- a/drivers/include/ds1307.h +++ b/drivers/include/ds1307.h @@ -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; /**