mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-30 20:40:28 -04:00 
			
		
		
		
	Shorten some diagnostic messages
This commit is contained in:
		
							parent
							
								
									dc7803fe0d
								
							
						
					
					
						commit
						462ef827c9
					
				| @ -812,7 +812,7 @@ bool Configuration::is_dummy_rig () const | |||||||
| 
 | 
 | ||||||
| bool Configuration::transceiver_online () | bool Configuration::transceiver_online () | ||||||
| { | { | ||||||
|   LOG_TRACE ("transceiver_online: " << m_->cached_rig_state_); |   LOG_TRACE (m_->cached_rig_state_); | ||||||
|   return m_->have_rig (); |   return m_->have_rig (); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| @ -823,37 +823,37 @@ int Configuration::transceiver_resolution () const | |||||||
| 
 | 
 | ||||||
| void Configuration::transceiver_offline () | void Configuration::transceiver_offline () | ||||||
| { | { | ||||||
|   LOG_TRACE ("transceiver_offline: " << m_->cached_rig_state_); |   LOG_TRACE (m_->cached_rig_state_); | ||||||
|   m_->close_rig (); |   m_->close_rig (); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Configuration::transceiver_frequency (Frequency f) | void Configuration::transceiver_frequency (Frequency f) | ||||||
| { | { | ||||||
|   LOG_TRACE ("transceiver_frequency: " << f << m_->cached_rig_state_); |   LOG_TRACE (f << ' ' << m_->cached_rig_state_); | ||||||
|   m_->transceiver_frequency (f); |   m_->transceiver_frequency (f); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Configuration::transceiver_tx_frequency (Frequency f) | void Configuration::transceiver_tx_frequency (Frequency f) | ||||||
| { | { | ||||||
|   LOG_TRACE ("transceiver_tx_frequency: " << f << m_->cached_rig_state_); |   LOG_TRACE (f << ' ' << m_->cached_rig_state_); | ||||||
|   m_->transceiver_tx_frequency (f); |   m_->transceiver_tx_frequency (f); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Configuration::transceiver_mode (MODE mode) | void Configuration::transceiver_mode (MODE mode) | ||||||
| { | { | ||||||
|   LOG_TRACE ("transceiver_mode: " << mode << " " << m_->cached_rig_state_); |   LOG_TRACE (mode << ' ' << m_->cached_rig_state_); | ||||||
|   m_->transceiver_mode (mode); |   m_->transceiver_mode (mode); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Configuration::transceiver_ptt (bool on) | void Configuration::transceiver_ptt (bool on) | ||||||
| { | { | ||||||
|   LOG_TRACE ("transceiver_ptt: " << on << " " << m_->cached_rig_state_); |   LOG_TRACE (on << ' ' << m_->cached_rig_state_); | ||||||
|   m_->transceiver_ptt (on); |   m_->transceiver_ptt (on); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void Configuration::sync_transceiver (bool force_signal, bool enforce_mode_and_split) | void Configuration::sync_transceiver (bool force_signal, bool enforce_mode_and_split) | ||||||
| { | { | ||||||
|   LOG_TRACE ("sync_transceiver: force signal: " << force_signal << " enforce_mode_and_split: " << enforce_mode_and_split << " " << m_->cached_rig_state_); |   LOG_TRACE ("force signal: " << force_signal << " enforce_mode_and_split: " << enforce_mode_and_split << ' ' << m_->cached_rig_state_); | ||||||
|   m_->sync_transceiver (force_signal); |   m_->sync_transceiver (force_signal); | ||||||
|   if (!enforce_mode_and_split) |   if (!enforce_mode_and_split) | ||||||
|     { |     { | ||||||
| @ -2838,7 +2838,7 @@ void Configuration::impl::sync_transceiver (bool /*force_signal*/) | |||||||
| void Configuration::impl::handle_transceiver_update (TransceiverState const& state, | void Configuration::impl::handle_transceiver_update (TransceiverState const& state, | ||||||
|                                                      unsigned sequence_number) |                                                      unsigned sequence_number) | ||||||
| { | { | ||||||
|   LOG_TRACE ("handle_transceiver_update: Transceiver State #: " << sequence_number << " " << state); |   LOG_TRACE ("#: " << sequence_number << ' ' << state); | ||||||
| 
 | 
 | ||||||
|   // only follow rig on some information, ignore other stuff
 |   // only follow rig on some information, ignore other stuff
 | ||||||
|   cached_rig_state_.online (state.online ()); |   cached_rig_state_.online (state.online ()); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user