fix for mbed lib issue 3 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/3 affected implementations: LPC812, LPC11U24, LPC1768, LPC2368, LPC4088

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Mon Mar 18 10:36:46 2013 +0000
Parent:
5:ab1c572cb536
Child:
7:3a1b3e92fa02
Commit message:
Fix GCC build including define of ARMCC intrinsic __disable_irq

Changed in this revision

capi/us_ticker_api.c Show annotated file Show diff for this revision Revisions of this file
--- a/capi/us_ticker_api.c	Fri Mar 15 17:00:57 2013 +0000
+++ b/capi/us_ticker_api.c	Mon Mar 18 10:36:46 2013 +0000
@@ -15,6 +15,7 @@
  */
 #include <stddef.h>
 #include "us_ticker_api.h"
+#include "cmsis.h"
 
 static ticker_event_handler event_handler;
 static ticker_event_t *head = NULL;