mbed SDK library sources

Fork of mbed-src by mbed official

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Thu Dec 12 18:15:12 2013 +0000
Parent:
56:99eb381a3269
Child:
58:3b55b7a41411
Commit message:
Synchronized with git revision f5e1f7037f101a2c2cd3c8e7591526aebb17482b

Full URL: https://github.com/mbedmicro/mbed/commit/f5e1f7037f101a2c2cd3c8e7591526aebb17482b/

Changed in this revision

targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c	Thu Dec 12 10:45:05 2013 +0000
+++ b/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c	Thu Dec 12 18:15:12 2013 +0000
@@ -175,8 +175,6 @@
     int timeout;
     int count;
   
-    if (length == 0) return 0;
-
 /*
     // Wait until the bus is not busy anymore
     timeout = LONG_TIMEOUT;