mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
PlutoSDR input: display actual gain value returned from device
This commit is contained in:
@@ -538,6 +538,15 @@ void PlutoSDRInput::getRSSI(std::string& rssiStr)
|
||||
}
|
||||
}
|
||||
|
||||
void PlutoSDRInput::getGain(int& gaindB)
|
||||
{
|
||||
DevicePlutoSDRBox *plutoBox = m_deviceShared.m_deviceParams->getBox();
|
||||
|
||||
if (!plutoBox->getRxGain(gaindB, 0)) {
|
||||
gaindB = 0;
|
||||
}
|
||||
}
|
||||
|
||||
bool PlutoSDRInput::fetchTemperature()
|
||||
{
|
||||
DevicePlutoSDRBox *plutoBox = m_deviceShared.m_deviceParams->getBox();
|
||||
|
||||
Reference in New Issue
Block a user