mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-02-03 09:44:24 -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 ();
|
auto time = QDateTime::currentDateTimeUtc ();
|
||||||
if( txRx=="Rx" ) {
|
if( txRx=="Rx" ) {
|
||||||
double tdec = fmod(double(time.time().second()),m_TRperiod);
|
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;
|
tdec+=m_TRperiod;
|
||||||
}
|
}
|
||||||
time = time.addSecs(-tdec);
|
time = time.addSecs(-tdec);
|
||||||
|
Loading…
Reference in New Issue
Block a user