mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
LimeSDR: removed useless step information from range inspection functions
This commit is contained in:
@@ -45,17 +45,17 @@ LimeSDRInputGUI::LimeSDRInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
|
||||
|
||||
ui->setupUi(this);
|
||||
|
||||
float minF, maxF, stepF;
|
||||
float minF, maxF;
|
||||
|
||||
m_limeSDRInput->getLORange(minF, maxF, stepF);
|
||||
m_limeSDRInput->getLORange(minF, maxF);
|
||||
ui->centerFrequency->setColorMapper(ColorMapper(ColorMapper::GrayGold));
|
||||
ui->centerFrequency->setValueRange(7, ((uint32_t) minF)/1000, ((uint32_t) maxF)/1000); // frequency dial is in kHz
|
||||
|
||||
m_limeSDRInput->getSRRange(minF, maxF, stepF);
|
||||
m_limeSDRInput->getSRRange(minF, maxF);
|
||||
ui->sampleRate->setColorMapper(ColorMapper(ColorMapper::GrayGreenYellow));
|
||||
ui->sampleRate->setValueRange(8, (uint32_t) minF, (uint32_t) maxF);
|
||||
|
||||
m_limeSDRInput->getLPRange(minF, maxF, stepF);
|
||||
m_limeSDRInput->getLPRange(minF, maxF);
|
||||
ui->lpf->setColorMapper(ColorMapper(ColorMapper::GrayYellow));
|
||||
ui->lpf->setValueRange(6, (minF/1000)+1, maxF/1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user