From aa88b067fbad688dc4ab5d4f3dfc2a6718d22540 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 8 Jul 2016 20:45:33 +0000 Subject: [PATCH] Don't increment watchdog timer in WSPR modes git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6897 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index d8eb7d7fb..d04b22a9c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -869,13 +869,15 @@ void MainWindow::on_the_minute () } } - if (m_repeatMsg < m_config.watchdog ()) ++m_repeatMsg; - if (!m_mode.startsWith ("WSPR") && m_config.watchdog () != 0) + if (!m_mode.startsWith ("WSPR") && m_config.watchdog () != 0 + && m_repeatMsg < m_config.watchdog ()) { + ++m_repeatMsg; updateProgressBarFormat (true); } else { + m_repeatMsg = 0; updateProgressBarFormat (false); } }