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:
Sat Nov 09 21:00:04 2013 +0000
Parent:
44:2ce89a25b635
Child:
46:bebbbd80dd87
Commit message:
Synchronized with git revision cbc47292e6919f9b63653f5b0570c5cbcf5ab2ff

Changed in this revision

targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c	Tue Nov 05 21:45:05 2013 +0000
+++ b/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c	Sat Nov 09 21:00:04 2013 +0000
@@ -24,7 +24,7 @@
     unsigned i;
     int f = 0;
 
-    for (i = 0; i < sizeof(reserved_pins) / sizeof(int); i ++)
+    for (i = 0; i < sizeof(reserved_pins) / sizeof(PinName); i ++)
         if (pin == reserved_pins[i]) {
             f = 1;
             break;