diff --git a/lib/qra/q65/q65.c b/lib/qra/q65/q65.c index 46d88301c..ddd764615 100644 --- a/lib/qra/q65/q65.c +++ b/lib/qra/q65/q65.c @@ -712,7 +712,9 @@ int q65_decode_fullaplist(q65_codec_ds *codec, // point to next codeword pCw+=nN; } - q65_llh=maxllh; + + q65_llh=maxllh; // save for Joe's use + if (maxcw<0) // no llh larger than threshold found return Q65_DECODE_FAILED; diff --git a/lib/qra/q65/q65.h b/lib/qra/q65/q65.h index 94f6d568c..9e3d79adb 100644 --- a/lib/qra/q65/q65.h +++ b/lib/qra/q65/q65.h @@ -39,7 +39,8 @@ // maximum number of weights for the fast-fading metric evaluation #define Q65_FASTFADING_MAXWEIGTHS 65 -float q65_llh; +extern float q65_llh; + typedef struct { const qracode *pQraCode; // qra code to be used by the codec float decoderEsNoMetric; // value for which we optimize the decoder metric