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 SPI.h
--- a/SPI.h	Fri Feb 11 10:33:02 2011 +0000
+++ b/SPI.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
+ * Copyright (c) 2010-2011 ARM Limited. All rights reserved. 
  */
 
 #ifndef MBED_SPI_H
 #define MBED_SPI_H
 
+#include "device.h"
+
+#if DEVICE_SPI
+
 #include "platform.h"
 #include "PinNames.h"
 #include "PeripheralNames.h"
@@ -106,3 +109,5 @@
 } // namespace mbed
 
 #endif
+
+#endif