mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Do not attempt to use Hamlib rig_get_mode() if it will not work
This allows low CAT functionality SDRs like the AE9RB Peaberry v2 to be controlled. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6223 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									8887c44df7
								
							
						
					
					
						commit
						c70b8c06af
					
				@ -177,6 +177,7 @@ HamlibTransceiver::HamlibTransceiver (TransceiverFactory::PTTMethod ptt_type, QS
 | 
			
		||||
  , reversed_ {false}
 | 
			
		||||
  , mode_query_works_ {true}
 | 
			
		||||
  , split_query_works_ {true}
 | 
			
		||||
  , tickle_hamlib_ {false}
 | 
			
		||||
  , get_vfo_works_ {true}
 | 
			
		||||
{
 | 
			
		||||
  if (!rig_)
 | 
			
		||||
@ -223,8 +224,8 @@ HamlibTransceiver::HamlibTransceiver (int model_number, TransceiverFactory::Para
 | 
			
		||||
  , back_ptt_port_ {TransceiverFactory::TX_audio_source_rear == params.audio_source}
 | 
			
		||||
  , is_dummy_ {RIG_MODEL_DUMMY == model_number}
 | 
			
		||||
  , reversed_ {false}
 | 
			
		||||
  , mode_query_works_ {true}
 | 
			
		||||
  , split_query_works_ {true}
 | 
			
		||||
  , mode_query_works_ {rig_ && rig_->caps->get_mode}
 | 
			
		||||
  , split_query_works_ {rig_ && rig_->caps->get_split_vfo}
 | 
			
		||||
  , tickle_hamlib_ {false}
 | 
			
		||||
  , get_vfo_works_ {true}
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user