1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

FT8 support: corrected possible code glitch

This commit is contained in:
f4exb 2023-02-03 10:37:03 +01:00
parent fdce34204f
commit 2385cdde7c

View File

@ -2998,7 +2998,7 @@ void FT8::fine(const FFTEngine::ffts_t &m79, int, float &adj_hz, float &adj_off)
adj_off = 0 - round(32 * late / params.fine_thresh); adj_off = 0 - round(32 * late / params.fine_thresh);
if (fabs(adj_off) > params.fine_max_off) { if (fabs(adj_off) > params.fine_max_off) {
adj_off =- params.fine_max_off; adj_off -= params.fine_max_off;
} }
} }
} }