mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Removing warning (not needed call to 'abs')
This commit is contained in:
		| @@ -208,7 +208,7 @@ int gps_l2_m_telemetry_decoder_cc::general_work (int noutput_items, gr_vector_in | |||||||
|                 } |                 } | ||||||
|             else if (d_stat == 1) //check 6 seconds of preamble separation |             else if (d_stat == 1) //check 6 seconds of preamble separation | ||||||
|                 { |                 { | ||||||
|                     preamble_diff = abs(d_sample_counter - d_preamble_index); |                     preamble_diff = d_sample_counter - d_preamble_index; | ||||||
|                     if (abs(preamble_diff - 6000) < 1) |                     if (abs(preamble_diff - 6000) < 1) | ||||||
|                         { |                         { | ||||||
|                             d_GPS_FSM.Event_gps_word_preamble(); |                             d_GPS_FSM.Event_gps_word_preamble(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez