Nicolas Nackel / Mbed 2 deprecated PPP-Blinky

Dependencies:   mbed

Revision:
266:47eea4b910ad
Parent:
201:9fcf92e9f427
--- a/main.cpp	Thu Dec 12 05:13:48 2019 +0000
+++ b/main.cpp	Sat Jan 18 04:29:12 2020 +0000
@@ -6,11 +6,14 @@
 
 int main()
 {
-    initializePpp(); // initialize the serial port(s) and structures
+    initializePpp(); // initialize the serial port(s) and PPP structure
     while(1) {
         waitForPcConnectString(); // wait for PC to send a connect message
+        
+        // main loop
         while( connectedPpp() ) {
             waitForPppFrame(); // process PPP frames until we receive a disconnect command
         }
+        
     } 
 }
\ No newline at end of file