Commit cdedf302 authored by Chris Scott's avatar Chris Scott

Reduce stationary position attemtps to 4, iphone4 seems to hang at 4 attempts

parent f4874a21
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
} }
-(BOOL) isBestStationaryLocation:(CLLocation*)location { -(BOOL) isBestStationaryLocation:(CLLocation*)location {
stationaryLocationAttempts++; stationaryLocationAttempts++;
if (stationaryLocationAttempts == 7) { if (stationaryLocationAttempts == 4) {
return true; return true;
} }
if (stationaryLocation == nil || stationaryLocation.horizontalAccuracy > location.horizontalAccuracy) { if (stationaryLocation == nil || stationaryLocation.horizontalAccuracy > location.horizontalAccuracy) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment