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: RemoteIR/ReceiverIR.cpp
- Revision:
- 2:d4625043c895
- Parent:
- 1:9370008ac96b
diff -r 9370008ac96b -r d4625043c895 RemoteIR/ReceiverIR.cpp
--- a/RemoteIR/ReceiverIR.cpp Sun Aug 15 00:27:30 2010 +0000
+++ b/RemoteIR/ReceiverIR.cpp Sun Aug 15 10:41:12 2010 +0000
@@ -145,6 +145,11 @@
data.bitcount++;
if (32 <= data.bitcount) {
data.state = Received;
+ work.c1 = -1;
+ work.c2 = -1;
+ work.c3 = -1;
+ work.d1 = -1;
+ work.d2 = -1;
}
} else if (AEHA == data.format) {
work.d2 = timer.read_us();