StarBoard Orange - Example application No.2 (Version 0.0.4)

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
shintamainjp
Date:
Sun Aug 15 10:41:12 2010 +0000
Parent:
1:9370008ac96b
Child:
3:469de11d1e1d
Commit message:

Changed in this revision

RemoteIR/ReceiverIR.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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();