mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05:00 
			
		
		
		
	PlutoSDR input: corected Fc pos processing
This commit is contained in:
		
							parent
							
								
									dc2b705807
								
							
						
					
					
						commit
						21ed8a8391
					
				@ -372,7 +372,7 @@ bool PlutoSDRInput::applySettings(const PlutoSDRInputSettings& settings, bool fo
 | 
			
		||||
        if (m_plutoSDRInputThread != 0)
 | 
			
		||||
        {
 | 
			
		||||
            m_plutoSDRInputThread->setFcPos(settings.m_fcPos);
 | 
			
		||||
            qDebug() << "PlutoSDRInput::applySettings: set fcPos to " << (1<<settings.m_fcPos);
 | 
			
		||||
            qDebug() << "PlutoSDRInput::applySettings: set fcPos to " << settings.m_fcPos;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -212,7 +212,7 @@ void PlutoSDRInputGui::on_swDecim_currentIndexChanged(int index)
 | 
			
		||||
 | 
			
		||||
void PlutoSDRInputGui::on_fcPos_currentIndexChanged(int index)
 | 
			
		||||
{
 | 
			
		||||
    m_settings.m_fcPos = (PlutoSDRInputSettings::fcPos_t) (index > 2 ? 2 : index);
 | 
			
		||||
    m_settings.m_fcPos = (PlutoSDRInputSettings::fcPos_t) (index < (int) PlutoSDRInputSettings::FC_POS_END ? index : PlutoSDRInputSettings::FC_POS_CENTER);
 | 
			
		||||
    sendSettings();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@ class DeviceSourceAPI;
 | 
			
		||||
 | 
			
		||||
const PluginDescriptor PlutoSDRInputPlugin::m_pluginDescriptor = {
 | 
			
		||||
	QString("PlutoSDR Input"),
 | 
			
		||||
	QString("3.7.1"),
 | 
			
		||||
	QString("3.7.2"),
 | 
			
		||||
	QString("(c) Edouard Griffiths, F4EXB"),
 | 
			
		||||
	QString("https://github.com/f4exb/sdrangel"),
 | 
			
		||||
	true,
 | 
			
		||||
 | 
			
		||||
@ -24,7 +24,8 @@ struct PlutoSDRInputSettings {
 | 
			
		||||
	typedef enum {
 | 
			
		||||
		FC_POS_INFRA = 0,
 | 
			
		||||
		FC_POS_SUPRA,
 | 
			
		||||
		FC_POS_CENTER
 | 
			
		||||
		FC_POS_CENTER,
 | 
			
		||||
		FC_POS_END
 | 
			
		||||
	} fcPos_t;
 | 
			
		||||
 | 
			
		||||
    enum RFPath
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user