1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

More Sonar fixes (3)

This commit is contained in:
f4exb 2024-07-22 04:25:43 +02:00
parent 3799746ac0
commit 0a9a2ba136

View File

@ -1938,7 +1938,7 @@ void FT8::soft_decode(const FFTEngine::ffts_t &c79, float ll174[])
//
void FT8::soft_decode_mags(FT8Params& params, const std::vector<std::vector<float>>& mags_, int nbSymbolBits, float ll174[])
{
if (nbSymbolBits > 16) {
if ((nbSymbolBits > 16) || (nbSymbolBits < 1)) {
return;
}