mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Allow entries with equal timestamp as some Garmin devices do produce them
This commit is contained in:
parent
abfb0c637a
commit
7a702be012
@ -89,7 +89,7 @@ Track::Track(const TrackData &data) : _data(data)
|
||||
_distance.append(ds);
|
||||
|
||||
if (_data.first().hasTimestamp() && _data.at(i).hasTimestamp()
|
||||
&& _data.at(i).timestamp() > _data.at(last).timestamp()) {
|
||||
&& _data.at(i).timestamp() >= _data.at(last).timestamp()) {
|
||||
_time.append(_data.first().timestamp().msecsTo(
|
||||
_data.at(i).timestamp()) / 1000.0);
|
||||
last = i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user