Skip to content

Commit

Permalink
forgot to set variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jontio committed Nov 6, 2021
1 parent 59cb765 commit 4d2c59c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JAERO/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ void MainWindow::SignalStatusSlot(bool signal)

void MainWindow::DataCarrierDetectStatusSlot(bool dcd)
{
last_dcd=dcd;
if(dcd)ui->leddata->setLED(QIcon::On);
else ui->leddata->setLED(QIcon::Off);
}
Expand All @@ -639,6 +640,7 @@ void MainWindow::PlottablesSlot(double freq_est,double freq_center,double bandwi
{
Q_UNUSED(freq_center);
Q_UNUSED(bandwidth);
last_frequency=freq_est;
QString str=(((QString)"%1Hz ").arg(freq_est,0, 'f', 2)).rightJustified(11,' ');
freqlabel->setText(" Freq: "+str);
}
Expand Down

0 comments on commit 4d2c59c

Please sign in to comment.