diff --git a/src/algorithms/signal_source/libs/ad936x_iio_custom.cc b/src/algorithms/signal_source/libs/ad936x_iio_custom.cc index 1f7dfd823..c99dba789 100644 --- a/src/algorithms/signal_source/libs/ad936x_iio_custom.cc +++ b/src/algorithms/signal_source/libs/ad936x_iio_custom.cc @@ -947,7 +947,7 @@ bool ad936x_iio_custom::select_rf_filter(std::string rf_filter) if (check_device() == false) return false; - int plutoGpo = 0; + // int plutoGpo = 0; int ret; ret = iio_device_debug_attr_write(phy, "adi,gpo-manual-mode-enable", "1"); diff --git a/src/algorithms/signal_source/libs/pps_samplestamp.h b/src/algorithms/signal_source/libs/pps_samplestamp.h index d6891aa3e..df4b40929 100644 --- a/src/algorithms/signal_source/libs/pps_samplestamp.h +++ b/src/algorithms/signal_source/libs/pps_samplestamp.h @@ -21,8 +21,8 @@ class PpsSamplestamp { 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 - uint32_t overflow_reg; // >0 indicates overflow situation in the FPGA RX buffer + 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; // >0 indicates overflow situation in the FPGA RX buffer }; #endif diff --git a/src/algorithms/signal_source/libs/ppstcprx.cc b/src/algorithms/signal_source/libs/ppstcprx.cc index 93db26f61..0855ad0b6 100644 --- a/src/algorithms/signal_source/libs/ppstcprx.cc +++ b/src/algorithms/signal_source/libs/ppstcprx.cc @@ -17,6 +17,7 @@ #include #include #include +#include #include pps_tcp_rx::pps_tcp_rx() diff --git a/src/algorithms/signal_source/libs/ppstcprx.h b/src/algorithms/signal_source/libs/ppstcprx.h index 653b2fdbd..3fb5878fb 100644 --- a/src/algorithms/signal_source/libs/ppstcprx.h +++ b/src/algorithms/signal_source/libs/ppstcprx.h @@ -18,10 +18,12 @@ #include "concurrent_queue.h" #include "pps_samplestamp.h" #include +#include #include #include #include #include + class pps_tcp_rx { private: