mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
once fox has been reset, don't process decodes until decoding period ended
This commit is contained in:
parent
969411cd39
commit
663ed60013
@ -9221,6 +9221,7 @@ void MainWindow::FoxReset(QString reason="")
|
|||||||
m_houndQueue.clear();
|
m_houndQueue.clear();
|
||||||
m_foxQSO.clear();
|
m_foxQSO.clear();
|
||||||
m_foxQSOinProgress.clear();
|
m_foxQSOinProgress.clear();
|
||||||
|
m_discard_decoded_hounds_this_cycle = true; // discard decoded messages until the next cycle
|
||||||
if (reason != "") writeFoxQSO(" " + reason);
|
if (reason != "") writeFoxQSO(" " + reason);
|
||||||
writeFoxQSO(" Reset");
|
writeFoxQSO(" Reset");
|
||||||
}
|
}
|
||||||
@ -9400,6 +9401,15 @@ void MainWindow::houndCallers()
|
|||||||
* Distance, Age, and Continent) to a list, sort the list by specified criteria,
|
* Distance, Age, and Continent) to a list, sort the list by specified criteria,
|
||||||
* and display the top N_Hounds entries in the left text window.
|
* and display the top N_Hounds entries in the left text window.
|
||||||
*/
|
*/
|
||||||
|
// if frequency was changed in the middle of an interval, there's a flag set to ignore the decodes. Reset it here
|
||||||
|
//
|
||||||
|
|
||||||
|
if (m_discard_decoded_hounds_this_cycle)
|
||||||
|
{
|
||||||
|
m_discard_decoded_hounds_this_cycle = false; //
|
||||||
|
return; // don't use these decodes
|
||||||
|
}
|
||||||
|
|
||||||
QFile f(m_config.temp_dir().absoluteFilePath("houndcallers.txt"));
|
QFile f(m_config.temp_dir().absoluteFilePath("houndcallers.txt"));
|
||||||
if(f.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
if(f.open(QIODevice::ReadOnly | QIODevice::Text)) {
|
||||||
QTextStream s(&f);
|
QTextStream s(&f);
|
||||||
|
@ -565,6 +565,7 @@ private:
|
|||||||
bool m_bBestSPArmed=false;
|
bool m_bBestSPArmed=false;
|
||||||
bool m_bOK_to_chk=false;
|
bool m_bOK_to_chk=false;
|
||||||
bool m_bSentReport=false;
|
bool m_bSentReport=false;
|
||||||
|
bool m_discard_decoded_hounds_this_cycle=false; // if something changes, like frequency, discard decoded messages that may be in-flight.
|
||||||
|
|
||||||
SpecOp m_specOp;
|
SpecOp m_specOp;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user