mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Fix MSK144 timestamps in ALL.TXT log.
This commit is contained in:
parent
366edf01ee
commit
aa4d98b6f1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user