Lab 1 Program C

Dependents:   Lab1C

Fork of mbed by -deleted-

Revision:
27:7110ebee3484
Parent:
22:9114680c05da
Child:
43:aff670d0d510
--- 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
+