1
0
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:
Michel Rottleuthner 2018-07-04 10:06:47 +02:00 committed by dylad
parent 1362289daf
commit 2e6ff0f197
2 changed files with 1 additions and 6 deletions

View File

@ -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
/** @} */

View File

@ -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;
/**