equal
deleted
inserted
replaced
294 |
294 |
295 aPosOption.SetUpdateTimeOut(TTimeIntervalMicroSeconds(aTimeout * 1000)); |
295 aPosOption.SetUpdateTimeOut(TTimeIntervalMicroSeconds(aTimeout * 1000)); |
296 |
296 |
297 mPositioner.SetUpdateOptions(aPosOption); |
297 mPositioner.SetUpdateOptions(aPosOption); |
298 |
298 |
299 //setUpdateInterval(aTimeout); |
|
300 startUpdates(); |
299 startUpdates(); |
301 } |
300 } |
302 |
301 |
303 |
302 |
304 // |
303 // |
404 // the time interval set is in milli seconds // |
403 // the time interval set is in milli seconds // |
405 ////////////////////////////////////////////////////////////// |
404 ////////////////////////////////////////////////////////////// |
406 int CQMLBackendAO::setUpdateInterval(int aMilliSec) |
405 int CQMLBackendAO::setUpdateInterval(int aMilliSec) |
407 { |
406 { |
408 int minimumUpdateInterval = 0; |
407 int minimumUpdateInterval = 0; |
409 TInt64 mUpdateInterval = 0 ; |
408 TInt64 mUpdateInterval = 0; |
410 |
|
411 |
409 |
412 if (mRequester) |
410 if (mRequester) |
413 minimumUpdateInterval = mRequester->minimumUpdateInterval(); |
411 minimumUpdateInterval = mRequester->minimumUpdateInterval(); |
414 else |
412 else |
415 minimumUpdateInterval = mRequesterSatellite->minimumUpdateInterval(); |
413 minimumUpdateInterval = mRequesterSatellite->minimumUpdateInterval(); |