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

Fork of mbed by mbed official

Revision:
27:7110ebee3484
Parent:
22:9114680c05da
Child:
43:e2ed12d17f06
--- a/I2CSlave.h	Fri Feb 11 10:33:02 2011 +0000
+++ b/I2CSlave.h	Tue Nov 29 14:59:27 2011 +0000
@@ -1,11 +1,14 @@
 /* mbed Microcontroller Library - I2CSlave
- * Copyright (c) 2007-2010 ARM Limited. All rights reserved.
- * jward 
+ * Copyright (c) 2007-2011 ARM Limited. All rights reserved.
  */ 
  
 #ifndef MBED_I2C_SLAVE_H
 #define MBED_I2C_SLAVE_H
 
+#include "device.h"
+
+#if DEVICE_I2CSLAVE
+
 #include "platform.h"
 #include "PinNames.h"
 #include "PeripheralNames.h"
@@ -147,3 +150,6 @@
 } // namespace mbed
 
 #endif
+
+#endif
+