aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include/libmaple/i2c_common.h
diff options
context:
space:
mode:
authorBarry Carter <barry.carter@robotfuzz.com>2012-09-04 22:24:25 +0100
committerBarry Carter <barry.carter@robotfuzz.com>2012-09-04 22:24:25 +0100
commit576457f5477597c3bc88f06cbae01c01a459c32e (patch)
tree1d06cf1099407f98ef243cf56d1bc40af29574e4 /libmaple/include/libmaple/i2c_common.h
parentef5c4b9f30da2f4b9a0edd4231e95b3ef8a88d43 (diff)
downloadlibrambutan-576457f5477597c3bc88f06cbae01c01a459c32e.tar.gz
librambutan-576457f5477597c3bc88f06cbae01c01a459c32e.zip
I2C slave support cleanups.
Added fix for corner case where badly behaving master doesn't NACK and we don't get the callbacks fires. Removed my own name from several places and added attribution to the correct place. Updated include comments to reference the fact it now supports I2C slave Signed-off-by:- Barry Carter <barry.carter@gmail.com>
Diffstat (limited to 'libmaple/include/libmaple/i2c_common.h')
-rw-r--r--libmaple/include/libmaple/i2c_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/include/libmaple/i2c_common.h b/libmaple/include/libmaple/i2c_common.h
index 5debcb8..93e17e2 100644
--- a/libmaple/include/libmaple/i2c_common.h
+++ b/libmaple/include/libmaple/i2c_common.h
@@ -93,7 +93,7 @@ typedef struct i2c_dev {
volatile i2c_state state; /**< Device state */
uint32 config_flags; /**< Configuration flags */
- /* Barry Carter
+ /*
* Slave implementation. Callback functions in this struct allow
* for a separate callback function for each I2C unit available onboard
*/