mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Remove blank lines
This commit is contained in:
		| @@ -95,7 +95,6 @@ bool gps_fpga_acquisition_8sc::init(unsigned int fft_size, unsigned int nsamples | ||||
|                     phase_step_rad_fpga = MAX_PHASE_STEP_RAD; | ||||
|                 } | ||||
|             d_phase_step_rad_vector[doppler_index] = phase_step_rad_fpga; | ||||
|  | ||||
|         } | ||||
|  | ||||
|     // sanity check : check test register | ||||
| @@ -171,14 +170,12 @@ gps_fpga_acquisition_8sc::gps_fpga_acquisition_8sc() | ||||
|  | ||||
| gps_fpga_acquisition_8sc::~gps_fpga_acquisition_8sc() | ||||
| { | ||||
|  | ||||
|     if (munmap((void*)d_map_base, PAGE_SIZE) == -1) | ||||
|         { | ||||
|             printf("Failed to unmap memory uio\n"); | ||||
|         } | ||||
|  | ||||
|     close(d_fd); | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -225,7 +222,6 @@ void gps_fpga_acquisition_8sc::fpga_configure_acquisition_local_code(lv_16sc_t f | ||||
|             local_code = (tmp & 0xFF) | ((tmp2*256) & 0xFF00); // put together the real part and the imaginary part | ||||
|             d_map_base[4] = 0x0C000000 | (local_code & 0xFFFF); | ||||
|         } | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -243,18 +239,14 @@ void gps_fpga_acquisition_8sc::run_acquisition(void) | ||||
|     nb=read(d_fd, &irq_count, sizeof(irq_count)); | ||||
|     if (nb != sizeof(irq_count)) | ||||
|         { | ||||
|             printf("Tracking_module Read failed to retrive 4 bytes!\n"); | ||||
|             printf("Tracking_module Read failed to retrieve 4 bytes!\n"); | ||||
|             printf("Tracking_module Interrupt number %d\n", irq_count); | ||||
|         } | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
| void gps_fpga_acquisition_8sc::configure_acquisition() | ||||
| { | ||||
|  | ||||
|     d_map_base[0] = d_select_queue; | ||||
|     d_map_base[1] = d_nsamples_total; | ||||
|     d_map_base[2] = d_nsamples; | ||||
| @@ -275,6 +267,7 @@ void gps_fpga_acquisition_8sc::set_phase_step(unsigned int doppler_index) | ||||
|     d_map_base[3] = phase_step_rad_int; | ||||
| } | ||||
|  | ||||
|  | ||||
| void gps_fpga_acquisition_8sc::read_acquisition_results(uint32_t* max_index, float* max_magnitude, unsigned *initial_sample, float *power_sum) | ||||
| { | ||||
|     unsigned readval = 0; | ||||
| @@ -287,7 +280,6 @@ void gps_fpga_acquisition_8sc::read_acquisition_results(uint32_t* max_index, flo | ||||
|     *power_sum = (float) readval; | ||||
|     readval = d_map_base[3]; | ||||
|     *max_index = readval; | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez