diff options
author | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-06-08 13:21:25 +0200 |
---|---|---|
committer | Paolo Angelelli <paolo.angelelli@qt.io> | 2018-06-21 11:17:41 +0000 |
commit | 06c0fc0cf9740efd71e2a4bc62692565ace4b1e4 (patch) | |
tree | b8e88b1406e579cc16d65a88fb6687194db12410 /src/positioning/qnmeapositioninfosource.cpp | |
parent | 71bc98bf309ce433afb80344a7356e13b310c5c5 (diff) | |
download | qtlocation-06c0fc0cf9740efd71e2a4bc62692565ace4b1e4.tar.gz |
Reduce minimum NMEA update interval
Some devices can generate up to 100 updates per second.
So the old 100msec minimum update interval was too limiting.
Change-Id: I539e308e0249166714d4fb567f8b78c136bc77cb
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/positioning/qnmeapositioninfosource.cpp')
-rw-r--r-- | src/positioning/qnmeapositioninfosource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/positioning/qnmeapositioninfosource.cpp b/src/positioning/qnmeapositioninfosource.cpp index 63410022..7fdf1e14 100644 --- a/src/positioning/qnmeapositioninfosource.cpp +++ b/src/positioning/qnmeapositioninfosource.cpp @@ -797,7 +797,7 @@ QGeoPositionInfoSource::PositioningMethods QNmeaPositionInfoSource::supportedPos */ int QNmeaPositionInfoSource::minimumUpdateInterval() const { - return 100; + return 2; // Some chips are capable of over 100 updates per seconds. } /*! |