Add some errors.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 23 Jul 2010 15:54:17 +0000 (15:54 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 23 Jul 2010 15:54:17 +0000 (15:54 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/branches/i2c@4058 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/i2c.h

index 361bd49d6beb1a5664013e1c5061aa1000350a94..1c58619a146c125879bf418611d059105794cf34 100644 (file)
@@ -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