pretty up names of SVs a bit in case of unknown constellations

pull/103/head
bert hubert 2020-02-14 22:28:57 +01:00
parent 76132b6e0a
commit 7c3cafc26c
1 changed files with 6 additions and 4 deletions

View File

@ -259,12 +259,14 @@ char getGNSSChar(int id)
{
if(id==0)
return 'G';
if(id==2)
else if(id==2)
return 'E';
if(id==3)
else if(id==3)
return 'C';
if(id==6)
else if(id==6)
return 'R';
else if(id==255)
return '?';
else
return '0'+id;
}
@ -326,6 +328,6 @@ std::string sbasName(int prn)
else
sbas ="SBAS";
sbas+=" " + std::to_string(prn);
sbas+="? " + std::to_string(prn);
return sbas;
}