mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-28 15:56:33 -04:00
commit
f35ea35a2d
@ -366,6 +366,15 @@ bool BladeRF2MIMOGui::handleMessage(const Message& message)
|
|||||||
|
|
||||||
return true;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -258,6 +258,15 @@ bool LimeSDRMIMOGUI::handleMessage(const Message& message)
|
|||||||
ui->gpioText->setText(tr("%1").arg(report.getGPIOPins(), 2, 16, QChar('0')).toUpper());
|
ui->gpioText->setText(tr("%1").arg(report.getGPIOPins(), 2, 16, QChar('0')).toUpper());
|
||||||
return true;
|
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
|
else
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
@ -299,6 +308,8 @@ void LimeSDRMIMOGUI::displaySettings()
|
|||||||
|
|
||||||
updateADCRate();
|
updateADCRate();
|
||||||
|
|
||||||
|
ui->gainMode->setEnabled(true);
|
||||||
|
|
||||||
if (m_streamIndex == 0)
|
if (m_streamIndex == 0)
|
||||||
{
|
{
|
||||||
ui->lpf->setValue(m_settings.m_lpfBWRx0 / 1000);
|
ui->lpf->setValue(m_settings.m_lpfBWRx0 / 1000);
|
||||||
@ -380,6 +391,13 @@ void LimeSDRMIMOGUI::displaySettings()
|
|||||||
|
|
||||||
updateDACRate();
|
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)
|
if (m_streamIndex == 0)
|
||||||
{
|
{
|
||||||
ui->lpf->setValue(m_settings.m_lpfBWTx0 / 1000);
|
ui->lpf->setValue(m_settings.m_lpfBWTx0 / 1000);
|
||||||
|
@ -442,6 +442,15 @@ bool PlutoSDRMIMOGUI::handleMessage(const Message& message)
|
|||||||
|
|
||||||
return true;
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user