From 9a53c3afeee8e5732c40e3a1bdc717e1bf1a0908 Mon Sep 17 00:00:00 2001 From: Constantin Shalnev Date: Thu, 17 Dec 2015 17:46:59 +0300 Subject: [PATCH] Fixed notes --- map/gps_track_filter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/map/gps_track_filter.cpp b/map/gps_track_filter.cpp index c54885be49..66dbf2b8aa 100644 --- a/map/gps_track_filter.cpp +++ b/map/gps_track_filter.cpp @@ -22,8 +22,9 @@ size_t const kWifiAreaGpsPeriodicyCheckSec = 30; // Max acceptable moving speed in wifi area, required to prevent jumping between wifi, m/s double const kWifiAreaAcceptableMovingSpeedMps = 3; -inline bool IsRealGpsPoint(location::GpsInfo const & info) +bool IsRealGpsPoint(location::GpsInfo const & info) { + // TODO use flag from device about gps type (real gps/wifi/cellular) // we guess real gps says speed and bearing other than zero return info.m_speed > 0 && info.m_bearing > 0; }