Merge branch 'f4exb:master' into freq_scanner

pull/1986/head
srcejon 2024-02-12 09:07:46 +00:00 zatwierdzone przez GitHub
commit 203a983565
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 36 dodań i 0 usunięć

Wyświetl plik

@ -366,6 +366,15 @@ bool BladeRF2MIMOGui::handleMessage(const Message& message)
return true;
}
else if (BladeRF2MIMO::MsgStartStop::match(message))
{
BladeRF2MIMO::MsgStartStop& notif = (BladeRF2MIMO::MsgStartStop&) message;
blockApplySettings(true);
(notif.getRxElseTx() ? ui->startStopRx : ui->startStopTx)->setChecked(notif.getStartStop());
blockApplySettings(false);
return true;
}
return false;
}

Wyświetl plik

@ -258,6 +258,15 @@ bool LimeSDRMIMOGUI::handleMessage(const Message& message)
ui->gpioText->setText(tr("%1").arg(report.getGPIOPins(), 2, 16, QChar('0')).toUpper());
return true;
}
else if (LimeSDRMIMO::MsgStartStop::match(message))
{
LimeSDRMIMO::MsgStartStop& notif = (LimeSDRMIMO::MsgStartStop&) message;
blockApplySettings(true);
(notif.getRxElseTx() ? ui->startStopRx : ui->startStopTx)->setChecked(notif.getStartStop());
blockApplySettings(false);
return true;
}
else
{
return false;
@ -299,6 +308,8 @@ void LimeSDRMIMOGUI::displaySettings()
updateADCRate();
ui->gainMode->setEnabled(true);
if (m_streamIndex == 0)
{
ui->lpf->setValue(m_settings.m_lpfBWRx0 / 1000);
@ -380,6 +391,13 @@ void LimeSDRMIMOGUI::displaySettings()
updateDACRate();
ui->gainMode->setEnabled(false);
ui->gain->setEnabled(true);
ui->lnaGain->setEnabled(false);
ui->tiaGain->setEnabled(false);
ui->pgaGain->setEnabled(false);
if (m_streamIndex == 0)
{
ui->lpf->setValue(m_settings.m_lpfBWTx0 / 1000);

Wyświetl plik

@ -442,6 +442,15 @@ bool PlutoSDRMIMOGUI::handleMessage(const Message& message)
return true;
}
else if (PlutoSDRMIMO::MsgStartStop::match(message))
{
PlutoSDRMIMO::MsgStartStop& notif = (PlutoSDRMIMO::MsgStartStop&) message;
blockApplySettings(true);
(notif.getRxElseTx() ? ui->startStopRx : ui->startStopTx)->setChecked(notif.getStartStop());
blockApplySettings(false);
return true;
}
return false;
}