1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-18 21:23:02 +00:00

Stylishing code

This commit is contained in:
Carles Fernandez 2017-05-13 21:08:42 +02:00
parent 84c13a5e2a
commit 96f3599a29
2 changed files with 8 additions and 8 deletions

View File

@ -1763,13 +1763,13 @@ int stropen(stream_t *stream, int type, int mode, const char *path)
switch (type)
{
case STR_SERIAL : stream->port = openserial(path, mode, stream->msg); break;
case STR_FILE : stream->port = openfile (path, mode, stream->msg); break;
case STR_TCPSVR : stream->port = opentcpsvr(path, stream->msg); break;
case STR_TCPCLI : stream->port = opentcpcli(path, stream->msg); break;
case STR_NTRIPSVR: stream->port = openntrip (path, 0, stream->msg); break;
case STR_NTRIPCLI: stream->port = openntrip (path, 1, stream->msg); break;
case STR_FTP : stream->port = openftp (path, 0, stream->msg); break;
case STR_HTTP : stream->port = openftp (path, 1, stream->msg); break;
case STR_FILE : stream->port = openfile(path, mode, stream->msg); break;
case STR_TCPSVR : stream->port = opentcpsvr(path, stream->msg); break;
case STR_TCPCLI : stream->port = opentcpcli(path, stream->msg); break;
case STR_NTRIPSVR: stream->port = openntrip(path, 0, stream->msg); break;
case STR_NTRIPCLI: stream->port = openntrip(path, 1, stream->msg); break;
case STR_FTP : stream->port = openftp(path, 0, stream->msg); break;
case STR_HTTP : stream->port = openftp(path, 1, stream->msg); break;
default: stream->state = 0; return 1;
}
stream->state = !stream->port ? -1 : 1;

View File

@ -382,7 +382,7 @@ int Position_Gps_L1_System_Test::configure_receiver()
config->set_property("PVT.positioning_mode", "PPP_Static");
config->set_property("PVT.iono_model", "OFF");
config->set_property("PVT.trop_model", "OFF");
// config->set_property("PVT.AR_GPS", "PPP-AR");
config->set_property("PVT.AR_GPS", "PPP-AR");
return 0;
}