mbed 5.4 with sleep mode

Dependencies:   C027_Support mbed-dev

Fork of C027_SupportTest_coap by Umar Naeem

Revision:
14:ab7c8627f950
Parent:
13:662bd1df9a72
Child:
15:ea10b6cf8c85
diff -r 662bd1df9a72 -r ab7c8627f950 main.cpp
--- 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;