1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-02-15 02:20:09 +00:00

Removing warning (not needed call to 'abs')

This commit is contained in:
Carles Fernandez 2015-05-06 17:37:01 +02:00
parent 37a346f3f6
commit f03336d82b

View File

@ -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
{
preamble_diff = abs(d_sample_counter - d_preamble_index);
preamble_diff = d_sample_counter - d_preamble_index;
if (abs(preamble_diff - 6000) < 1)
{
d_GPS_FSM.Event_gps_word_preamble();