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

drivers/ds1307: remove unused clock param

parent 1362289d
No related branches found
No related tags found
No related merge requests found
...@@ -32,13 +32,9 @@ extern "C" { ...@@ -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 { ...@@ -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;
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment