Csr location class shows location and satellite information, which supports H13467 + ST F103RB/NXP LCP1549 boards now.

Dependents:   CsrLocationDemo CsrLocationDemo

Fork of CsrLocation by jie zhao

Revision:
6:aed3c66b39d9
Parent:
4:0d9b711fb646
Child:
7:1fde78f27d5b
--- a/CsrLocation.cpp	Fri Aug 01 08:13:04 2014 +0000
+++ b/CsrLocation.cpp	Mon Aug 04 10:15:22 2014 +0000
@@ -1043,15 +1043,15 @@
 void CsrLocation::_CsrLocHwOnoff(void)
 {
 	csrLocInst.pPinOnoff->write(1);
-	wait_ms(10);
+	wait_ms(100);
 	csrLocInst.pPinOnoff->write(0);
 	CSR_LOG_INFO("Onoff pulse given.\r\n");
 }
 
 void CsrLocation::_CsrLocHwReset(void)
 {
+	csrLocInst.pPinReset->write(0);
+	wait_ms(100);
 	csrLocInst.pPinReset->write(1);
-	wait_ms(10);
-	csrLocInst.pPinReset->write(0);
 	CSR_LOG_INFO("Reset pulse given.\r\n");
 }