1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

LimeSDR support (10)

This commit is contained in:
f4exb
2017-04-15 11:45:01 +02:00
parent 0204cca9e3
commit 6ed2fbee10
5 changed files with 204 additions and 1 deletions
@@ -198,3 +198,28 @@ void LimeSDRInput::stop()
m_running = false;
}
void LimeSDRInput::getLORange(float& minF, float& maxF, float& stepF) const
{
lms_range_t range = m_deviceShared.m_deviceParams->m_loRangeRx;
minF = range.min;
maxF = range.max;
stepF = range.step;
}
void LimeSDRInput::getSRRange(float& minF, float& maxF, float& stepF) const
{
lms_range_t range = m_deviceShared.m_deviceParams->m_srRangeRx;
minF = range.min;
maxF = range.max;
stepF = range.step;
}
void LimeSDRInput::getLPRange(float& minF, float& maxF, float& stepF) const
{
lms_range_t range = m_deviceShared.m_deviceParams->m_lpfRangeRx;
minF = range.min;
maxF = range.max;
stepF = range.step;
}