diff options
author | vng <viktor.govako@gmail.com> | 2014-10-05 20:13:01 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:29:30 +0300 |
commit | b09c040bab1042e47a1a499c42161241fb8f7688 (patch) | |
tree | 2eb9aa47b6a69612d260d7f60b494f4871901134 /platform/location.hpp | |
parent | a69be8e1038a4c3bf48b78af1d89d4e3f0a313e6 (diff) |
Cross-platform logic of choosing bearing between GPS and Compass, according to the current use case.
Diffstat (limited to 'platform/location.hpp')
-rw-r--r-- | platform/location.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/location.hpp b/platform/location.hpp index 36a751b833..7dc7eb6851 100644 --- a/platform/location.hpp +++ b/platform/location.hpp @@ -47,7 +47,7 @@ namespace location double m_speed; //!< metres per second //bool HasAltitude() const { return m_verticalAccuracy >= 0.0; } - //bool HasBearing() const { return m_bearing >= 0.0; } + bool HasBearing() const { return m_bearing >= 0.0; } bool HasSpeed() const { return m_speed >= 0.0; } }; |