[hamradio-commits] [gnss-sdr] 23/60: Setting flags for IONO and UTC

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sun Mar 22 11:15:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

carles_fernandez-guest pushed a commit to branch next
in repository gnss-sdr.

commit 8bb61f6aebac0e709dfe29c997b52f05f1505d4e
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Sun Mar 1 21:09:18 2015 +0100

    Setting flags for IONO and UTC
---
 src/core/system_parameters/gps_navigation_message.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/core/system_parameters/gps_navigation_message.cc b/src/core/system_parameters/gps_navigation_message.cc
index d8c761e..a5b58b0 100644
--- a/src/core/system_parameters/gps_navigation_message.cc
+++ b/src/core/system_parameters/gps_navigation_message.cc
@@ -102,8 +102,8 @@ void Gps_Navigation_Message::reset()
     b_antispoofing_flag = false;
 
     // Ionosphere and UTC
-    flag_iono_valid = true;
-    flag_utc_model_valid = true;
+    flag_iono_valid = false;
+    flag_utc_model_valid = false;
     d_alpha0 = 0;
     d_alpha1 = 0;
     d_alpha2 = 0;
@@ -804,7 +804,7 @@ Gps_Iono Gps_Navigation_Message::get_iono()
     iono.d_beta3 = d_beta3;
     iono.valid = flag_iono_valid;
     //WARNING: We clear flag_utc_model_valid in order to not re-send the same information to the ionospheric parameters queue
-    // flag_iono_valid = false;
+    flag_iono_valid = false;
     return iono;
 }
 
@@ -823,7 +823,7 @@ Gps_Utc_Model Gps_Navigation_Message::get_utc_model()
     utc_model.i_DN = i_DN;
     utc_model.d_DeltaT_LSF = d_DeltaT_LSF;
     // warning: We clear flag_utc_model_valid in order to not re-send the same information to the ionospheric parameters queue
-    // flag_utc_model_valid = false;
+    flag_utc_model_valid = false;
     return utc_model;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/gnss-sdr.git



More information about the pkg-hamradio-commits mailing list