mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-02 06:42:25 -04:00
Fix MSK144 timestamps in ALL.TXT log.
This commit is contained in:
parent
a57dcd4a6f
commit
304333a418
@ -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…
x
Reference in New Issue
Block a user