diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2014-01-10 15:15:26 -0500 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2014-01-10 15:15:26 -0500 |
commit | 3400e7bec16a9a7c80b52b304da2311cb3932ded (patch) | |
tree | afea9d4e9d99df54364900f64d9ac771d6f54c28 /libmaple/include | |
parent | 644d05beb7c32c2823615948217ffec4c5daf878 (diff) | |
download | librambutan-3400e7bec16a9a7c80b52b304da2311cb3932ded.tar.gz librambutan-3400e7bec16a9a7c80b52b304da2311cb3932ded.zip |
Revert "Added I2C slave echo example in examples folder. Using another maple, write a byte and then read."
This reverts commit 594724951553a882758c11497a4f03828b4f43e6.
Reverting pull request #54, which breaks examples/i2c-mcp4725-dac.cpp.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'libmaple/include')
-rw-r--r-- | libmaple/include/libmaple/i2c.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libmaple/include/libmaple/i2c.h b/libmaple/include/libmaple/i2c.h index fbb4c09..5a9da58 100644 --- a/libmaple/include/libmaple/i2c.h +++ b/libmaple/include/libmaple/i2c.h @@ -210,7 +210,6 @@ typedef struct i2c_msg { #define I2C_SLAVE_DUAL_ADDRESS 0x40 // Enable the dual slave address scheme #define I2C_SLAVE_GENERAL_CALL 0x80 // Enable the general call on address 0x00 void i2c_master_enable(i2c_dev *dev, uint32 flags); -void i2c_slave_enable(i2c_dev *dev, uint32 flags); #define I2C_ERROR_PROTOCOL (-1) #define I2C_ERROR_TIMEOUT (-2) |