forked from organicmaps/organicmaps-tmp
clang-format
This commit is contained in:
parent
db13487c8f
commit
6ff1389127
1 changed files with 3 additions and 2 deletions
|
@ -26,7 +26,7 @@ namespace df
|
|||
namespace
|
||||
{
|
||||
int const kPositionRoutingOffsetY = 104;
|
||||
double const kMinSpeedThresholdMps = 2.8; // 10 km/h
|
||||
double const kMinSpeedThresholdMps = 2.8; // 10 km/h
|
||||
double const kGpsBearingLifetimeSec = 5.0;
|
||||
double const kMaxPendingLocationTimeSec = 60.0;
|
||||
double const kMaxTimeInBackgroundSec = 60.0 * 60;
|
||||
|
@ -578,7 +578,8 @@ void MyPositionController::OnCompassUpdate(location::CompassInfo const & info, S
|
|||
double const oldAzimut = GetDrawableAzimut();
|
||||
m_isCompassAvailable = true;
|
||||
|
||||
if ((IsInRouting() && m_isArrowGluedInRouting) || m_lastGPSBearing.ElapsedSeconds() < kGpsBearingLifetimeSec)
|
||||
if ((IsInRouting() && m_isArrowGluedInRouting) ||
|
||||
m_lastGPSBearing.ElapsedSeconds() < kGpsBearingLifetimeSec)
|
||||
return;
|
||||
|
||||
SetDirection(info.m_bearing);
|
||||
|
|
Loading…
Add table
Reference in a new issue