mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-13 21:57:14 +00:00
Remove redundant blank lines at the end of a code block
This commit is contained in:
@@ -68,7 +68,6 @@ extern "C"
|
||||
{
|
||||
clFFT_Forward = -1,
|
||||
clFFT_Inverse = 1
|
||||
|
||||
} clFFT_Direction;
|
||||
|
||||
// XForm dimension
|
||||
@@ -77,7 +76,6 @@ extern "C"
|
||||
clFFT_1D = 0,
|
||||
clFFT_2D = 1,
|
||||
clFFT_3D = 3
|
||||
|
||||
} clFFT_Dimension;
|
||||
|
||||
// XForm Data type
|
||||
|
||||
@@ -236,8 +236,8 @@ double prange(const obsd_t *obs, const nav_t *nav, const double *azel,
|
||||
|
||||
//CHECK IF IT IS STILL NEEDED
|
||||
if (opt->ionoopt == IONOOPT_IFLC)
|
||||
{ /* dual-frequency */
|
||||
|
||||
{
|
||||
/* dual-frequency */
|
||||
if (P1 == 0.0 || P2 == 0.0)
|
||||
{
|
||||
return 0.0;
|
||||
|
||||
@@ -1689,7 +1689,6 @@ int res_ppp(int iter __attribute__((unused)), const obsd_t *obs, int n, const do
|
||||
|
||||
for (j = 0; j < 2; j++)
|
||||
{ /* for phase and code */
|
||||
|
||||
if (meas[j] == 0.0)
|
||||
{
|
||||
continue;
|
||||
|
||||
@@ -1657,7 +1657,6 @@ int ddres(rtk_t *rtk, const nav_t *nav, double dt, const double *x,
|
||||
}
|
||||
for (m = 0; m < 4; m++)
|
||||
{ /* m=0:gps/qzs/sbs, 1:glo, 2:gal, 3:bds */
|
||||
|
||||
for (f = opt->mode > PMODE_DGPS ? 0 : nf; f < nf * 2; f++)
|
||||
{
|
||||
/* search reference satellite with highest elevation */
|
||||
@@ -2863,7 +2862,6 @@ int rtkpos(rtk_t *rtk, const obsd_t *obs, int n, const nav_t *nav)
|
||||
}
|
||||
if (opt->mode == PMODE_MOVEB)
|
||||
{ /* moving baseline */
|
||||
|
||||
/* estimate position/velocity of base station */
|
||||
if (!pntpos(obs + nu, nr, nav, &rtk->opt, &solb, nullptr, nullptr, msg))
|
||||
{
|
||||
|
||||
@@ -494,7 +494,6 @@ void decodefile(rtksvr_t *svr, int index)
|
||||
|
||||
if (svr->format[index] == STRFMT_SP3)
|
||||
{ /* precise ephemeris */
|
||||
|
||||
/* read sp3 precise ephemeris */
|
||||
readsp3(file, &nav, 0);
|
||||
if (nav.ne <= 0)
|
||||
@@ -517,8 +516,8 @@ void decodefile(rtksvr_t *svr, int index)
|
||||
rtksvrunlock(svr);
|
||||
}
|
||||
else if (svr->format[index] == STRFMT_RNXCLK)
|
||||
{ /* precise clock */
|
||||
|
||||
{
|
||||
/* precise clock */
|
||||
/* read rinex clock */ // Disabled!!
|
||||
if (true /*readrnxc(file, &nav)<=0 */)
|
||||
{
|
||||
|
||||
@@ -955,7 +955,6 @@ int gentcp(tcp_t *tcp, int type, char *msg)
|
||||
|
||||
if (type == 0)
|
||||
{ /* server socket */
|
||||
|
||||
#ifdef SVR_REUSEADDR
|
||||
/* multiple-use of server socket */
|
||||
setsockopt(tcp->sock, SOL_SOCKET, SO_REUSEADDR, (const char *)&opt,
|
||||
|
||||
@@ -355,7 +355,6 @@ void tidedisp(gtime_t tutc, const double *rr, int opt, const erp_t *erp,
|
||||
|
||||
if (opt & 1)
|
||||
{ /* solid earth tides */
|
||||
|
||||
/* sun and moon position in ecef */
|
||||
sunmoonpos(tutc, erpv, rs, rm, &gmst);
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
/* From gnuradio/gnuradio-runtime/lib/math/sine_table.h
|
||||
* max_error = 2.353084136763606e-06 */
|
||||
static const float sine_table_10bits[1 << 10][2] = {
|
||||
|
||||
{2.925817799165007e-09, 7.219194364267018e-09},
|
||||
{2.925707643778599e-09, 2.526699001579799e-07},
|
||||
{2.925487337153070e-09, 1.191140162167675e-06},
|
||||
|
||||
Reference in New Issue
Block a user