mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-09 20:26:46 +00:00
run clang-format on ALL the modified files this time
This commit is contained in:
parent
a0c1c0a001
commit
e45632f827
@ -807,7 +807,7 @@ void pppoutsolstat(rtk_t *rtk, int level, FILE *fp)
|
||||
for (j = 0; j < nfreq; j++)
|
||||
{
|
||||
fprintf(fp, "$SAT,%d,%.3f,%s,%d,%.1f,%.1f,%.4f,%.4f,%d,%.0f,%d,%d,%d,%d,%d,%d\n",
|
||||
week, tow, id.data(), j + 1, ssat->azel[0] * R2D, ssat->azel[1] * R2D,
|
||||
week, tow, id.data(), j + 1, ssat->azel[0] * R2D, ssat->azel[1] * R2D,
|
||||
ssat->resp[j], ssat->resc[j], ssat->vsat[j], ssat->snr[j] * 0.25,
|
||||
ssat->fix[j], ssat->slip[j] & 3, ssat->lock[j], ssat->outc[j],
|
||||
ssat->slipc[j], ssat->rejc[j]);
|
||||
|
@ -4118,15 +4118,15 @@ int execcmd(const char *cmd)
|
||||
* return : none
|
||||
* notes : not recursive. only one level
|
||||
*-----------------------------------------------------------------------------*/
|
||||
void createdir(std::filesystem::path const& path)
|
||||
void createdir(std::filesystem::path const &path)
|
||||
{
|
||||
std::error_code ec;
|
||||
std::error_code ec;
|
||||
|
||||
auto created = std::filesystem::create_directory(path, ec);
|
||||
if (not created)
|
||||
{
|
||||
trace(1, "Error creating folder: %s", path.c_str());
|
||||
}
|
||||
auto created = std::filesystem::create_directory(path, ec);
|
||||
if (not created)
|
||||
{
|
||||
trace(1, "Error creating folder: %s", path.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -59,8 +59,8 @@
|
||||
#define GNSS_SDR_RTKLIB_RTKCMN_H
|
||||
|
||||
#include "rtklib.h"
|
||||
#include <filesystem>
|
||||
#include <cstddef>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
|
||||
|
||||
@ -230,9 +230,9 @@ void traceobs(int level, const obsd_t *obs, int n);
|
||||
// void traceb (int level, const unsigned char *p, int n);
|
||||
|
||||
int execcmd(const char *cmd);
|
||||
void createdir(std::filesystem::path const& path);
|
||||
void createdir(std::filesystem::path const &path);
|
||||
int reppath(std::string const &path, std::string &rpath, gtime_t time, const char *rov,
|
||||
const char *base);
|
||||
const char *base);
|
||||
double satwavelen(int sat, int frq, const nav_t *nav);
|
||||
double geodist(const double *rs, const double *rr, double *e);
|
||||
double satazel(const double *pos, const double *e, double *azel);
|
||||
|
@ -1976,9 +1976,9 @@ void *ftpthread(void *arg)
|
||||
auto proxyopt = std::string();
|
||||
if (*proxyaddr)
|
||||
{
|
||||
auto proto = "ftp"s;
|
||||
if (ftp->proto) proto = "http"s;
|
||||
env = "set "s + proto + "_proxy=http://"s + std::string(proxyaddr) + " % ";
|
||||
auto proto = "ftp"s;
|
||||
if (ftp->proto) proto = "http"s;
|
||||
env = "set "s + proto + "_proxy=http://"s + std::string(proxyaddr) + " % ";
|
||||
proxyopt = "--proxy=on ";
|
||||
}
|
||||
|
||||
@ -2025,7 +2025,7 @@ void *ftpthread(void *arg)
|
||||
{
|
||||
if (local.extension() == ext)
|
||||
{
|
||||
char tmpfile_arg[1024];
|
||||
char tmpfile_arg[1024];
|
||||
ret = rtk_uncompress(local.c_str(), tmpfile_arg);
|
||||
if (ret != 0) // success
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user