Fix MSK144 timestamps in ALL.TXT log.

This commit is contained in:
K9AN 2020-05-29 07:59:46 -05:00 committed by Bill Somerville
parent 366edf01ee
commit aa4d98b6f1
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -8829,7 +8829,7 @@ void MainWindow::write_all(QString txRx, QString message)
auto time = QDateTime::currentDateTimeUtc ();
if( txRx=="Rx" ) {
double tdec = fmod(double(time.time().second()),m_TRperiod);
if( tdec < 0.5*m_TRperiod ) {
if( "MSK144" != m_mode && tdec < 0.5*m_TRperiod ) {
tdec+=m_TRperiod;
}
time = time.addSecs(-tdec);