diff --git a/include/mraa_internal_types.h b/include/mraa_internal_types.h index a7d75bb..8c5e747 100644 --- a/include/mraa_internal_types.h +++ b/include/mraa_internal_types.h @@ -56,7 +56,6 @@ struct _gpio { */ struct _i2c { /*@{*/ - int hz; /**< frequency of communication */ int fh; /**< the file handle to the /dev/i2c-* device */ int addr; /**< the address of the i2c slave */ /*@}*/ diff --git a/src/i2c/i2c.c b/src/i2c/i2c.c index 3207db2..1dc5f67 100644 --- a/src/i2c/i2c.c +++ b/src/i2c/i2c.c @@ -137,8 +137,6 @@ mraa_i2c_init_raw(unsigned int bus) mraa_result_t mraa_i2c_frequency(mraa_i2c_context dev, mraa_i2c_mode_t mode) { - dev->hz = hz; - return MRAA_ERROR_FEATURE_NOT_SUPPORTED; }