mbed library sources. Supersedes mbed-src.

Dependents:   BREAK_SENSOR_LED

Fork of mbed-dev by mbed official

Revision:
119:3921aeca8633
Parent:
107:414e9c822e99
Child:
144:ef7eb2e8f9f7
diff -r 1e9abb17742b -r 3921aeca8633 hal/i2c_api.h
--- a/hal/i2c_api.h	Wed Apr 27 19:30:12 2016 +0100
+++ b/hal/i2c_api.h	Fri Apr 29 01:15:11 2016 +0100
@@ -124,7 +124,7 @@
 /** Write one byte.
  *  @param obj The i2c object
  *  @param data Byte to be written
- *  @return 1 if NAK was received, 0 if ACK was received, 2 for timeout.
+ *  @return 0 if NAK was received, 1 if ACK was received, 2 for timeout.
  */
 int  i2c_byte_write(i2c_t *obj, int data);