mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-14 22:04:57 +00:00
clang format and cpplint corrections
This commit is contained in:
parent
d6c60fd7c4
commit
1850061a96
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
#include "sbas_l1_telemetry_decoder_gs.h"
|
#include "sbas_l1_telemetry_decoder_gs.h"
|
||||||
#include "gnss_synchro.h"
|
#include "gnss_synchro.h"
|
||||||
#include "viterbi_decoder_sbas.h"
|
|
||||||
#include "tlm_utils.h"
|
#include "tlm_utils.h"
|
||||||
|
#include "viterbi_decoder_sbas.h"
|
||||||
#include <gnuradio/io_signature.h>
|
#include <gnuradio/io_signature.h>
|
||||||
#include <pmt/pmt_sugar.h> // for mp
|
#include <pmt/pmt_sugar.h> // for mp
|
||||||
#include <algorithm> // for copy
|
#include <algorithm> // for copy
|
||||||
@ -120,7 +120,6 @@ void sbas_l1_telemetry_decoder_gs::set_satellite(const Gnss_Satellite &satellite
|
|||||||
void sbas_l1_telemetry_decoder_gs::set_channel(int32_t channel)
|
void sbas_l1_telemetry_decoder_gs::set_channel(int32_t channel)
|
||||||
{
|
{
|
||||||
d_channel = channel;
|
d_channel = channel;
|
||||||
//d_nav.set_channel(channel);
|
|
||||||
DLOG(INFO) << "Navigation channel set to " << channel;
|
DLOG(INFO) << "Navigation channel set to " << channel;
|
||||||
// ############# ENABLE DATA FILE LOG #################
|
// ############# ENABLE DATA FILE LOG #################
|
||||||
if (d_dump == true)
|
if (d_dump == true)
|
||||||
|
@ -182,7 +182,7 @@ void Gnss_Satellite::set_PRN(uint32_t PRN_)
|
|||||||
}
|
}
|
||||||
if (system == "GPS")
|
if (system == "GPS")
|
||||||
{
|
{
|
||||||
if (PRN_ < 1 or (PRN_ > 32 and PRN_<120))
|
if (PRN_ < 1 or (PRN_ > 32 and PRN_ < 120))
|
||||||
{
|
{
|
||||||
DLOG(INFO) << "This PRN is not defined";
|
DLOG(INFO) << "This PRN is not defined";
|
||||||
PRN = 0;
|
PRN = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user