From 1226aacaadbe3458391acbd8b8497f38d968b029 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Wed, 24 Jun 2020 21:25:02 -0400 Subject: [PATCH] Remove the silly C++ puzzle, no longer needed. --- widgets/mainwindow.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index ea7f54a10..84eab0715 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -4081,22 +4081,7 @@ void MainWindow::guiUpdate() //Once per second: if(nsec != m_sec0) { // qDebug() << "onesec" << m_mode; - -/* -{ - qint64 m_silentFrames; - unsigned mstr=3000; //Also try 1000 and 3000 - unsigned delay_ms=1000; - unsigned m_ic=0; - unsigned m_frameRate=48000; - m_silentFrames = m_ic + (delay_ms-mstr)*m_frameRate/1000; -// m_silentFrames = m_ic + 0.001*(delay_ms-mstr)*m_frameRate; - qDebug() << m_silentFrames; -} -*/ - m_currentBand=m_config.bands()->find(m_freqNominal); - if( SpecOp::HOUND == m_config.special_op_id() ) { qint32 tHound=QDateTime::currentMSecsSinceEpoch()/1000 - m_tAutoOn; //To keep calling Fox, Hound must reactivate Enable Tx at least once every 2 minutes