mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-30 05:12:26 -04:00
Reset m_echoSec0=0 after Clear Avg.
This commit is contained in:
parent
731230315b
commit
077b44f901
@ -1633,7 +1633,7 @@ void MainWindow::dataSink(qint64 frames)
|
|||||||
}
|
}
|
||||||
int n=t0.toInt();
|
int n=t0.toInt();
|
||||||
int nsec=((n/10000)*3600) + (((n/100)%100)*60) + (n%100);
|
int nsec=((n/10000)*3600) + (((n/100)%100)*60) + (n%100);
|
||||||
if(!m_echoRunning) m_echoSec0=nsec;
|
if(!m_echoRunning or echocom_.nsum<2) m_echoSec0=nsec;
|
||||||
n=(nsec-m_echoSec0 + 864000)%86400;
|
n=(nsec-m_echoSec0 + 864000)%86400;
|
||||||
if(n>43200) n-=86400;
|
if(n>43200) n-=86400;
|
||||||
m_echoRunning=true;
|
m_echoRunning=true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user