Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CsrLocation mbed GPSProvider
Fork of CsrLocationDemo by
Diff: CsrLocationDemo.cpp
- Revision:
- 1:e6c96c984e2b
- Parent:
- 0:789f6b6f710d
- Child:
- 2:b70e3a839116
diff -r 789f6b6f710d -r e6c96c984e2b CsrLocationDemo.cpp
--- a/CsrLocationDemo.cpp	Mon Mar 24 08:26:27 2014 +0000
+++ b/CsrLocationDemo.cpp	Tue Mar 25 05:27:09 2014 +0000
@@ -39,7 +39,7 @@
 
 
 static Serial			sSerialDebug(USBTX, USBRX);
-static Serial			sSerialLoc(p9, p10);;
+static RawSerial        sSerialLoc(p9, p10);;
 static DigitalOut		sPinOnoff(p5);
 static DigitalOut		sPinReset(p6);
 static DigitalOut		sLedLocOn(LED1);
@@ -155,7 +155,6 @@
             break;
         }
     }
-    delete pCsrLoc;
 }
 
 static void _AppShowCmd(void)
    
 GPS mbed Shield
            GPS mbed Shield