Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
22:71422c359f2a
Parent:
21:5048e16cc9ef
Child:
23:14f8c5004cd0
--- a/main.cpp	Sat Mar 28 07:59:47 2015 +0000
+++ b/main.cpp	Wed Apr 01 22:57:31 2015 +0000
@@ -905,9 +905,9 @@
 // because we don't need to be able to change sensor types on the fly.
 //
 
-#ifdef ENABLE_CCD_SENSOR
+#if defined(ENABLE_CCD_SENSOR)
 #include "ccdSensor.h"
-#elif ENABLE_POT_SENSOR
+#elif defined(ENABLE_POT_SENSOR)
 #include "potSensor.h"
 #else
 #include "nullSensor.h"