diff --git a/plugins/samplesource/sdrdaemonfec/sdrdaemonfecgui.ui b/plugins/samplesource/sdrdaemonfec/sdrdaemonfecgui.ui index d3c12dbd1..a18e4a763 100644 --- a/plugins/samplesource/sdrdaemonfec/sdrdaemonfecgui.ui +++ b/plugins/samplesource/sdrdaemonfec/sdrdaemonfecgui.ui @@ -557,10 +557,16 @@ - 100 + 110 0 + + + 110 + 16777215 + + Local data connection IP address @@ -587,6 +593,18 @@ true + + + 60 + 0 + + + + + 60 + 16777215 + + Local data connection port @@ -610,6 +628,18 @@ + + + 60 + 0 + + + + + 60 + 16777215 + + Remote control port @@ -653,19 +683,6 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - diff --git a/plugins/samplesource/sdrdaemonfec/sdrdaemonfecudphandler.cpp b/plugins/samplesource/sdrdaemonfec/sdrdaemonfecudphandler.cpp index 33cbfb0d2..cdd8fd136 100644 --- a/plugins/samplesource/sdrdaemonfec/sdrdaemonfecudphandler.cpp +++ b/plugins/samplesource/sdrdaemonfec/sdrdaemonfecudphandler.cpp @@ -235,9 +235,9 @@ void SDRdaemonFECUDPHandler::tick() //framesDecodingStatus = (minNbOriginalBlocks == nbOriginalBlocks ? 2 : (minNbOriginalBlocks < nbOriginalBlocks - nbFECblocks ? 0 : 1)); if (minNbBlocks < nbOriginalBlocks) { - framesDecodingStatus = 1; - } else if (minNbBlocks < nbOriginalBlocks + nbFECblocks) { framesDecodingStatus = 0; + } else if (minNbBlocks < nbOriginalBlocks + nbFECblocks) { + framesDecodingStatus = 1; } else { framesDecodingStatus = 2; }