RealtimeCompLab2

Dependencies:   mbed

Fork of PPP-Blinky by Nicolas Nackel

Revision:
2:b6ccdc962742
Parent:
1:9e03798d4367
Child:
3:bcc66de0bdcd
--- a/main.cpp	Tue Dec 27 17:45:57 2016 +0000
+++ b/main.cpp	Tue Dec 27 17:46:27 2016 +0000
@@ -56,7 +56,7 @@
                 if (waitingForPpp) pc.printf("CLIENTSERVER"); // respond to PC
                 waitingForPpp = waitingForPpp ? 0 : 1; // TOGGLE waiting flag
             }
-            if ( flagCount>0 ) myled = ((flagCount/2)%2); // toggle on PPP frame detect
+            if ( flagCount>0 ) myled = ((flagCount/2)%2); // toggle on PPP frame found
         }
     }
 }