RealtimeCompLab2
Dependencies: mbed
Fork of PPP-Blinky by
Diff: main.cpp
- Revision:
- 189:9fc4ae041974
- Parent:
- 187:e2cea223dd85
- Child:
- 193:8d3c9e94a4fb
--- a/main.cpp Fri Oct 06 14:45:21 2017 +0000 +++ b/main.cpp Fri Oct 06 14:46:33 2017 +0000 @@ -7,7 +7,7 @@ int main() { initializePpp(); // initialize the serial port(s) and structures - while(1) { // main loop + while(1) { waitForPcConnectString(); // wait for PC to send a connect message while( connectedPpp() ) { waitForPppFrame(); // process PPP frames until we receive a disconnect command