Csr location demo application shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.
Dependencies: CsrLocation mbed GPSProvider
Fork of CsrLocationDemo by
Diff: CsrLocationDemo.cpp
- Revision:
- 2:b70e3a839116
- Parent:
- 1:e6c96c984e2b
- Child:
- 3:7a3ed8ae071d
diff -r e6c96c984e2b -r b70e3a839116 CsrLocationDemo.cpp
--- a/CsrLocationDemo.cpp Tue Mar 25 05:27:09 2014 +0000
+++ b/CsrLocationDemo.cpp Wed Mar 26 09:17:18 2014 +0000
@@ -28,8 +28,8 @@
static void _AppShowCmd(void);
-static void _AppOutputCallback(CsrUint32 msgId, void * const pMsgData, CsrUint32 msgLength);
-static void _AppEventCallback(eCsrLocEventType event, CsrUint32 data);
+static void _AppOutputCallback(uint32_t msgId, void * const pMsgData, uint32_t msgLength);
+static void _AppEventCallback(eCsrLocEventType event, uint32_t data);
static void _ConsoleRxHandler(void);
static void _AppCmdProcess(char *pCmd);
@@ -38,8 +38,8 @@
ePowerMode sPwrMode = PWR_FULL;
-static Serial sSerialDebug(USBTX, USBRX);
-static RawSerial sSerialLoc(p9, p10);;
+static RawSerial sSerialDebug(USBTX, USBRX);
+static RawSerial sSerialLoc(p9, p10);
static DigitalOut sPinOnoff(p5);
static DigitalOut sPinReset(p6);
static DigitalOut sLedLocOn(LED1);
@@ -169,7 +169,7 @@
}
-static void _AppOutputCallback(CsrUint32 msgId, void * const pMsgData, CsrUint32 msgLength)
+static void _AppOutputCallback(uint32_t msgId, void * const pMsgData, uint32_t msgLength)
{
switch(msgId)
{
@@ -194,7 +194,7 @@
}
}
-static void _AppEventCallback(eCsrLocEventType event, CsrUint32 data)
+static void _AppEventCallback(eCsrLocEventType event, uint32_t data)
{
switch(event)
{

GPS mbed Shield