Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ReceiverIR.cpp
- 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;
}