1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-457 Increase timeout so GPS at 2400bds can be "used"

This commit is contained in:
Laurent Lalanne 2019-05-25 21:49:48 +02:00
parent 748dacf32b
commit 9f723dd2ba

View File

@ -97,8 +97,9 @@ void updateGpsSettings(__attribute__((unused)) UAVObjEvent *ev);
// ****************
// Private constants
// GPS timeout is greater than 1000ms so that a stock GPS configuration can be used without timeout errors
#define GPS_TIMEOUT_MS 1250
// GPS timeout is greater than 1000ms so that a stock GPS configuration
// or 2400bds can be used without timeout errors
#define GPS_TIMEOUT_MS 1800
// delay from detecting HomeLocation.Set == False before setting new homelocation
// this prevent that a save with homelocation.Set = false triggered by gps ends saving