projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some errors.
[bertos.git]
/
bertos
/
drv
/
i2c.h
diff --git
a/bertos/drv/i2c.h
b/bertos/drv/i2c.h
index 361bd49d6beb1a5664013e1c5061aa1000350a94..1c58619a146c125879bf418611d059105794cf34 100644
(file)
--- a/
bertos/drv/i2c.h
+++ b/
bertos/drv/i2c.h
@@
-134,9
+134,10
@@
bool i2c_recv(void *_buf, size_t count);
*
*/
#define I2C_OK 0
-#define I2C_START_ERR BV(0)
+#define I2C_ARB_LOST BV(2)
+#define I2C_START_TIMEOUT BV(0)
#define I2C_NO_ACK BV(1)
-#define I2C_ARBLST BV(2)
+
#define I2C_NOSTOP 0