From c29ddf33ed8ab8a5c4db73529bdf7e30c6942de5 Mon Sep 17 00:00:00 2001 From: John Nelson Date: Fri, 27 Sep 2013 15:07:28 +0000 Subject: [PATCH] Inadvertently removed G4WJS fix in r3571. Replaced git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3579 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- Detector.cpp | 4 ++-- mainwindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Detector.cpp b/Detector.cpp index 039b0a41c..78500ebee 100644 --- a/Detector.cpp +++ b/Detector.cpp @@ -35,8 +35,8 @@ void Detector::clear () // jt9com_.kin = qMin ((msInPeriod * m_frameRate) / 1000, static_cast (sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]))); jt9com_.kin = 0; - // fill buffer with zeros - qFill (jt9com_.d2, jt9com_.d2 + sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]), 0); + // fill buffer with zeros (G4WJS commented out becuase it might cause decoder hangs) + // qFill (jt9com_.d2, jt9com_.d2 + sizeof (jt9com_.d2) / sizeof (jt9com_.d2[0]), 0); } qint64 Detector::writeData (char const * data, qint64 maxSize) diff --git a/mainwindow.cpp b/mainwindow.cpp index affd4136c..b5633d737 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//----------------------------------------------------------------- MainWindow +//---------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h"