mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
OP-97 flight/GPS: Disable speed threshold command for those who knows it's needed, check gpsTask->DISABLE_GPS_TRESHOLD
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2014 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
4d7e053e06
commit
3e462b1434
@ -103,6 +103,11 @@ static void gpsTask(void *parameters)
|
||||
GPSPositionData GpsData;
|
||||
uint32_t timeNowMs;
|
||||
|
||||
//#define DISABLE_GPS_TRESHOLD
|
||||
#ifdef DISABLE_GPS_TRESHOLD
|
||||
PIOS_COM_SendStringNonBlocking(gpsPort,"$PMTK397,0*23\r\n");
|
||||
#endif
|
||||
|
||||
// Loop forever
|
||||
while (1) {
|
||||
/* This blocks the task until there is something on the buffer */
|
||||
|
Loading…
x
Reference in New Issue
Block a user