I2CRTOS Driver by Helmut Schmücker. Removed included mbed-rtos library to prevent multiple definition. Make sure to include mbed-rtos library in your program!

Fork of I2cRtosDriver by Helmut Schmücker

Revision:
7:04824382eafb
Parent:
6:5b98c902a659
Child:
9:65aae53a34de
--- a/I2CDriver.h	Sat Apr 20 20:06:44 2013 +0000
+++ b/I2CDriver.h	Sun Apr 28 15:08:04 2013 +0000
@@ -54,7 +54,7 @@
      *       0 on success (ack),
      *   non-0 on failure (nack)
      */
-    int readMaster(int address, char *data, int length, bool repeated = false);
+    int readMaster(int address, char* data, int length, bool repeated = false);
 
     /** Read from a given I2C slave register
      *
@@ -71,7 +71,7 @@
      *       0 on success (ack),
      *   non-0 on failure (nack)
      */
-    int readMaster(int address, uint8_t _register, char *data, int length, bool repeated = false);
+    int readMaster(int address, uint8_t _register, char* data, int length, bool repeated = false);
 
     /** Read a single byte from the I2C bus
      *