Lab 1 Program C

Dependents:   Lab1C

Fork of mbed by -deleted-

Revision:
27:7110ebee3484
Parent:
20:029aa53d7323
Child:
30:3991a86798e3
diff -r 63bcd7ba4912 -r 7110ebee3484 SPIHalfDuplex.h
--- a/SPIHalfDuplex.h	Fri Feb 11 10:33:02 2011 +0000
+++ b/SPIHalfDuplex.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.
- * jward
+/* mbed Microcontroller Library - SPIHalfDuplex
+ * Copyright (c) 2010-2011 ARM Limited. All rights reserved.
  */
 
 #ifndef MBED_SPIHALFDUPLEX_H
 #define MBED_SPIHALFDUPLEX_H
 
+#include "device.h"
+
+#if DEVICE_SPIHALFDUPLEX
+
 #include "SPI.h"
 
 namespace mbed {
@@ -111,3 +114,5 @@
 } // End of namespace mbed
 
 #endif
+
+#endif