mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-23 10:34:21 -04:00
Fix some illogical use of variable m_RxLog.
Add -DUNIX flag to FFLAGS in Makefile.linux. Tweak the use of framesAfterDownsample in Detector.cpp. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3631 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+2
-2
@@ -1368,7 +1368,7 @@ void MainWindow::decode() //decode()
|
||||
jt9com_.nfSplit=m_wideGraph->getFmin();
|
||||
jt9com_.nfb=m_wideGraph->getFmax();
|
||||
jt9com_.ntol=20;
|
||||
if(jt9com_.nutc < m_nutc0) m_RxLog |= 1; //Date and Time to all.txt
|
||||
if(jt9com_.nutc < m_nutc0) m_RxLog = 1; //Date and Time to all.txt
|
||||
m_nutc0=jt9com_.nutc;
|
||||
jt9com_.ntxmode=9;
|
||||
if(m_modeTx=="JT65") jt9com_.ntxmode=65;
|
||||
@@ -1438,7 +1438,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
QFile f("ALL.TXT");
|
||||
f.open(QIODevice::WriteOnly | QIODevice::Text | QIODevice::Append);
|
||||
QTextStream out(&f);
|
||||
if(m_RxLog && 1) {
|
||||
if(m_RxLog==1) {
|
||||
out << QDateTime::currentDateTimeUtc().toString("yyyy-MMM-dd hh:mm")
|
||||
<< " " << m_dialFreq << " MHz " << m_mode << endl;
|
||||
m_RxLog=0;
|
||||
|
||||
Reference in New Issue
Block a user