mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
FT8 support: corrected possible code glitch
This commit is contained in:
parent
fdce34204f
commit
2385cdde7c
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user