RealtimeCompLab2
Dependencies: mbed
Fork of PPP-Blinky by
Diff: main.cpp
- Revision:
- 153:7993def8663f
- Parent:
- 150:3366bf3d294e
- Child:
- 174:e5a3f16421a5
--- a/main.cpp Fri Sep 01 15:25:04 2017 +0000 +++ b/main.cpp Fri Sep 01 15:44:06 2017 +0000 @@ -8,7 +8,7 @@ { initializePpp(); // initialize the serial port(s) and structures while(1) { - scanForConnectString(); // wait for PC to send a connect message + waitForPcConnectString(); // wait for PC to send a connect message while( connectedPpp() ) { waitForPppFrame(); // process PPP frames until we receive a disconnect command }