RemoteIR.

Dependents:   RemoteIR_TestProgram SerialGPS_TestProgram StarBoardOrangeExpansion1 Door_Slamming_Device ... more

Revision:
10:c54fb1204d1e
Parent:
9:dcfdac59ef74
Child:
11:268cc2ab63bd
--- a/ReceiverIR.cpp	Fri Sep 17 20:22:38 2010 +0000
+++ b/ReceiverIR.cpp	Fri Sep 17 21:44:01 2010 +0000
@@ -7,8 +7,8 @@
 
 #include "ReceiverIR.h"
 
-#define LOCK() sem.take()
-#define UNLOCK() sem.release()
+#define LOCK()
+#define UNLOCK()
 
 #define InRange(x,y)   ((((y) * 0.7) < (x)) && ((x) < ((y) * 1.3)))
 
@@ -40,7 +40,6 @@
     LOCK();
     State s = work.state;
     UNLOCK();
-    wait_ms(10);
     return s;
 }