mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-31 19:29:17 +00:00
Code cleaning
This commit is contained in:
parent
1517bb1ab8
commit
8e42b55f8d
@ -947,7 +947,7 @@ bool ad936x_iio_custom::select_rf_filter(std::string rf_filter)
|
|||||||
|
|
||||||
|
|
||||||
if (check_device() == false) return false;
|
if (check_device() == false) return false;
|
||||||
int plutoGpo = 0;
|
// int plutoGpo = 0;
|
||||||
int ret;
|
int ret;
|
||||||
ret = iio_device_debug_attr_write(phy, "adi,gpo-manual-mode-enable", "1");
|
ret = iio_device_debug_attr_write(phy, "adi,gpo-manual-mode-enable", "1");
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
class PpsSamplestamp
|
class PpsSamplestamp
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
uint64_t samplestamp; // PPS rising edge samples counter from the beginning of rx stream opperation. Notice that it is reseted to zero if sample buffer overflow is detected on the FPGA side
|
uint64_t samplestamp = 0; // PPS rising edge samples counter from the beginning of rx stream opperation. Notice that it is reseted to zero if sample buffer overflow is detected on the FPGA side
|
||||||
uint32_t overflow_reg; // >0 indicates overflow situation in the FPGA RX buffer
|
uint32_t overflow_reg = 0; // >0 indicates overflow situation in the FPGA RX buffer
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
pps_tcp_rx::pps_tcp_rx()
|
pps_tcp_rx::pps_tcp_rx()
|
||||||
|
@ -18,10 +18,12 @@
|
|||||||
#include "concurrent_queue.h"
|
#include "concurrent_queue.h"
|
||||||
#include "pps_samplestamp.h"
|
#include "pps_samplestamp.h"
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <memory>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
class pps_tcp_rx
|
class pps_tcp_rx
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user