Fix MSK144 timestamps in ALL.TXT log.

This commit is contained in:
K9AN 2020-05-29 07:59:46 -05:00
parent a57dcd4a6f
commit 304333a418

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);