Move around the force update to be more reliable

This commit is contained in:
Jordan Sherer 2018-10-16 09:49:53 -04:00
parent 87a6e10bd6
commit 2da25c3171

View File

@ -4466,8 +4466,8 @@ void MainWindow::guiUpdate()
// at the end of the period
bool forceDirty = false;
if(m_sec0 % (m_TRperiod-2) == 0 ||
m_sec0 % (m_TRperiod-1) == 0 ||
m_sec0 % (m_TRperiod) == 0){
m_sec0 % (m_TRperiod) == 0 ||
m_sec0 % (m_TRperiod+2) == 0 ){
// force rx dirty at the end of the period
forceDirty = true;
}