Lab 1 Program C

Dependents:   Lab1C

Fork of mbed by -deleted-

Revision:
27:7110ebee3484
Parent:
20:029aa53d7323
Child:
43:aff670d0d510
diff -r 63bcd7ba4912 -r 7110ebee3484 SPISlave.h
--- a/SPISlave.h	Fri Feb 11 10:33:02 2011 +0000
+++ b/SPISlave.h	Tue Nov 29 14:59:27 2011 +0000
@@ -1,11 +1,14 @@
-/* mbed Microcontroller Library - SPI
- * Copyright (c) 2010 ARM Limited. All rights reserved. 
- * sford
+/* mbed Microcontroller Library - SPISlave
+ * Copyright (c) 2010-2011 ARM Limited. All rights reserved. 
  */
 
 #ifndef MBED_SPISLAVE_H
 #define MBED_SPISLAVE_H
 
+#include "device.h"
+
+#if DEVICE_SPISLAVE
+
 #include "platform.h"
 #include "PinNames.h"
 #include "PeripheralNames.h"
@@ -120,3 +123,5 @@
 } // namespace mbed
 
 #endif
+
+#endif