From 2da25c3171e54b89bbda1f692bb9f92f8d2669ee Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Tue, 16 Oct 2018 09:49:53 -0400 Subject: [PATCH] Move around the force update to be more reliable --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index bfde944..9cdce7c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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; }