forked from upstream-mirrors/OpenTracks
Fix comment for 4560c4d93a5b.
This commit is contained in:
@@ -329,8 +329,7 @@ public class SendMapsAsyncTask extends AsyncTask<Void, Integer, Boolean> {
|
|||||||
List<Location> locations = new ArrayList<Location>(MAX_POINTS_PER_UPLOAD);
|
List<Location> locations = new ArrayList<Location>(MAX_POINTS_PER_UPLOAD);
|
||||||
Location lastLocation = null;
|
Location lastLocation = null;
|
||||||
|
|
||||||
// Limit the number of elevation readings. Ideally we would want around
|
// Limit the number of elevation readings to 250.
|
||||||
// 250.
|
|
||||||
int elevationSamplingFrequency = Math.max(1, (int) (locationsCount / 250.0));
|
int elevationSamplingFrequency = Math.max(1, (int) (locationsCount / 250.0));
|
||||||
double totalDistance = 0;
|
double totalDistance = 0;
|
||||||
DoubleBuffer elevationBuffer = new DoubleBuffer(Constants.ELEVATION_SMOOTHING_FACTOR);
|
DoubleBuffer elevationBuffer = new DoubleBuffer(Constants.ELEVATION_SMOOTHING_FACTOR);
|
||||||
|
|||||||
Reference in New Issue
Block a user