From b09c040bab1042e47a1a499c42161241fb8f7688 Mon Sep 17 00:00:00 2001 From: vng Date: Sun, 5 Oct 2014 19:13:01 +0300 Subject: Cross-platform logic of choosing bearing between GPS and Compass, according to the current use case. --- platform/location.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/location.hpp') 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; } }; -- cgit v1.2.3