From d16a6e24d95bdd9b2596e9494e2f7294d56fa070 Mon Sep 17 00:00:00 2001 From: barthess Date: Sun, 27 Mar 2011 14:57:47 +0000 Subject: I2C. API changes. rw_bit field moved from slave config ctructure to the driver structure. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2845 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/i2c.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'os/hal/include') diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 53f4cd86a..3f9186125 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -161,8 +161,6 @@ struct I2CSlaveConfig{ */ uint16_t address; - //TODO: (is it need?) merge rw_bit, restart and address in one 16-bit variable. - uint8_t rw_bit; bool_t restart; // send restart if TRUE. Else sent stop event after complete data tx/rx -- cgit v1.2.3