mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 07:13:03 +00:00 
			
		
		
		
	Code cleaning
This commit is contained in:
		| @@ -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"); | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -17,6 +17,7 @@ | ||||
| #include <cstring> | ||||
| #include <iostream> | ||||
| #include <sstream> | ||||
| #include <utility> | ||||
| #include <vector> | ||||
|  | ||||
| pps_tcp_rx::pps_tcp_rx() | ||||
|   | ||||
| @@ -18,10 +18,12 @@ | ||||
| #include "concurrent_queue.h" | ||||
| #include "pps_samplestamp.h" | ||||
| #include <arpa/inet.h> | ||||
| #include <memory> | ||||
| #include <netinet/in.h> | ||||
| #include <string> | ||||
| #include <sys/socket.h> | ||||
| #include <sys/types.h> | ||||
|  | ||||
| class pps_tcp_rx | ||||
| { | ||||
| private: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Javier Arribas
					Javier Arribas