An example for TinyGPSPlus

Dependencies:   TinyGPSPlus

Revision:
1:351d281f437f
Parent:
0:eff8db5e950d
--- a/main.cpp	Sat Feb 02 06:53:56 2019 +0000
+++ b/main.cpp	Sat Feb 02 07:17:19 2019 +0000
@@ -32,7 +32,5 @@
     gps.baud(GPS_BAUD_RATE);
     gps.format(8, Serial::None, 1);
     gps.attach(&callback, Serial::RxIrq);
-    while(1) {
-        wait(1);
-    }
+    wait(osWaitForever);
 }