[hamradio-commits] [gnss-sdr] 13/80: add the identifier E to Galileo PRN numbers

Carles Fernandez carles_fernandez-guest at moszumanska.debian.org
Sun May 15 20:11:52 UTC 2016


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

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

commit d4793470a9d9c97d8c8542ff662770bdca2127d5
Author: Carles Fernandez <carles.fernandez at gmail.com>
Date:   Mon May 2 14:36:26 2016 +0200

    add the identifier E to Galileo PRN numbers
---
 src/core/system_parameters/gnss_satellite.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/core/system_parameters/gnss_satellite.cc b/src/core/system_parameters/gnss_satellite.cc
index fb57fad..ea1598e 100644
--- a/src/core/system_parameters/gnss_satellite.cc
+++ b/src/core/system_parameters/gnss_satellite.cc
@@ -77,8 +77,9 @@ void Gnss_Satellite::reset()
 
 std::ostream& operator<<(std::ostream &out, const Gnss_Satellite &sat) // output
 {
-    //std::string psystem = sat::get_system()
-    out << sat.get_system() << " PRN " << sat.get_PRN() << " (Block " << sat.get_block() << ")";
+    std::string tag("");
+    if(sat.get_system().compare("Galileo") == 0) tag = "E";
+    out << sat.get_system() << " PRN " << tag << sat.get_PRN() << " (Block " << sat.get_block() << ")";
     return out;
 }
 

-- 
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