mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-05-17 14:54:08 +00:00
Stylishing code
This commit is contained in:
parent
84c13a5e2a
commit
96f3599a29
@ -1763,13 +1763,13 @@ int stropen(stream_t *stream, int type, int mode, const char *path)
|
|||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case STR_SERIAL : stream->port = openserial(path, mode, stream->msg); break;
|
case STR_SERIAL : stream->port = openserial(path, mode, stream->msg); break;
|
||||||
case STR_FILE : stream->port = openfile (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_TCPSVR : stream->port = opentcpsvr(path, stream->msg); break;
|
||||||
case STR_TCPCLI : stream->port = opentcpcli(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_NTRIPSVR: stream->port = openntrip(path, 0, stream->msg); break;
|
||||||
case STR_NTRIPCLI: stream->port = openntrip (path, 1, 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_FTP : stream->port = openftp(path, 0, stream->msg); break;
|
||||||
case STR_HTTP : stream->port = openftp (path, 1, stream->msg); break;
|
case STR_HTTP : stream->port = openftp(path, 1, stream->msg); break;
|
||||||
default: stream->state = 0; return 1;
|
default: stream->state = 0; return 1;
|
||||||
}
|
}
|
||||||
stream->state = !stream->port ? -1 : 1;
|
stream->state = !stream->port ? -1 : 1;
|
||||||
|
@ -382,7 +382,7 @@ int Position_Gps_L1_System_Test::configure_receiver()
|
|||||||
config->set_property("PVT.positioning_mode", "PPP_Static");
|
config->set_property("PVT.positioning_mode", "PPP_Static");
|
||||||
config->set_property("PVT.iono_model", "OFF");
|
config->set_property("PVT.iono_model", "OFF");
|
||||||
config->set_property("PVT.trop_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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user