mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2026-10-02 13:51:50 +00:00
Apply clang tidy checks and clang-format
This commit is contained in:
@@ -44,13 +44,13 @@ Channel::Channel(ConfigurationInterface* configuration, uint32_t channel, const
|
||||
const std::shared_ptr<TrackingInterface>& trk, const std::shared_ptr<TelemetryDecoderInterface>& nav,
|
||||
const std::string& role, const std::string& implementation, const std::shared_ptr<Concurrent_Queue<pmt::pmt_t> >& queue)
|
||||
{
|
||||
acq_ = std::move(acq);
|
||||
trk_ = std::move(trk);
|
||||
nav_ = std::move(nav);
|
||||
role_ = std::move(role);
|
||||
implementation_ = std::move(implementation);
|
||||
acq_ = acq;
|
||||
trk_ = trk;
|
||||
nav_ = nav;
|
||||
role_ = role;
|
||||
implementation_ = implementation;
|
||||
channel_ = channel;
|
||||
queue_ = std::move(queue);
|
||||
queue_ = queue;
|
||||
channel_fsm_ = std::make_shared<ChannelFsm>();
|
||||
|
||||
flag_enable_fpga = configuration->property("GNSS-SDR.enable_FPGA", false);
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
* -------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef GNSS_SDR_CHANNEL_FSM_H
|
||||
#define GNSS_SDR_CHANNEL_FSM_H
|
||||
#ifndef GNSS_SDR_CHANNEL_FSM_H_
|
||||
#define GNSS_SDR_CHANNEL_FSM_H_
|
||||
|
||||
#include "acquisition_interface.h"
|
||||
#include "concurrent_queue.h"
|
||||
@@ -83,4 +83,4 @@ private:
|
||||
std::mutex mx;
|
||||
};
|
||||
|
||||
#endif // GNSS_SDR_CHANNEL_FSM_H
|
||||
#endif // GNSS_SDR_CHANNEL_FSM_H_
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
* -------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H
|
||||
#define GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H
|
||||
#ifndef GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H_
|
||||
#define GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H_
|
||||
|
||||
#include "channel_fsm.h"
|
||||
#include <gnuradio/block.h>
|
||||
@@ -58,4 +58,4 @@ private:
|
||||
void msg_handler_events(pmt::pmt_t msg);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // GNSS_SDR_CHANNEL_MSG_RECEIVER_CC_H_
|
||||
|
||||
Reference in New Issue
Block a user