mbed 5.4 with sleep mode

Dependencies:  

Revision:
14:ab7c8627f950
Parent:
13:662bd1df9a72
Child:
15:ea10b6cf8c85
--- a/main.cpp	Fri May 09 11:57:47 2014 +0000
+++ b/main.cpp	Mon May 12 07:29:13 2014 +0000
@@ -217,7 +217,7 @@
         {
             int len = LENGTH(ret);
             //TRACE("NMEA: %.*s\r\n", len-2, msg); 
-            if ((PROTOCOL(ret) == NMEA) && (len > 6) && !strncmp("$GPGLL", buf, 6))
+            if ((PROTOCOL(ret) == GPSParser::NMEA) && (len > 6) && !strncmp("$GPGLL", buf, 6))
             {
                 double la = 0, lo = 0;
                 char ch;