mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-30 23:03:05 +00:00 
			
		
		
		
	saving temporary changes before merging with usptream next branch
added functions that allow the tests to read the scaling factor used by the FFT and the IFFT during acquisition
This commit is contained in:
		| @@ -509,3 +509,12 @@ void fpga_acquisition::set_single_doppler_flag(unsigned int single_doppler_flag) | ||||
| 	d_single_doppler_flag = single_doppler_flag; | ||||
| } | ||||
|  | ||||
| // this function is only used for the unit tests | ||||
| void fpga_acquisition::read_fpga_total_scale_factor(uint32_t *total_scale_factor, uint32_t *fw_scale_factor) | ||||
| { | ||||
| 	uint32_t readval = 0; | ||||
| 	readval = d_map_base[7]; | ||||
| 	*total_scale_factor = readval; | ||||
| 	readval = d_map_base[8]; | ||||
| 	*fw_scale_factor = readval; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Marc Majoral
					Marc Majoral