Private
Public Access
2
0

i2c: remove hz from context

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-12-10 00:33:16 +00:00
parent fc5d37d391
commit 836d953cb7
2 changed files with 0 additions and 3 deletions

View File

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

View File

@@ -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;
}