mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-04 05:30:32 -05:00 
			
		
		
		
	LimeSDR input: code cleanup
This commit is contained in:
		
							parent
							
								
									7c558b15f5
								
							
						
					
					
						commit
						463abb637f
					
				@ -269,6 +269,8 @@ void LimeSDRInput::closeDevice()
 | 
				
			|||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    if (m_running) { stop(); }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // destroy the stream
 | 
					    // destroy the stream
 | 
				
			||||||
    LMS_DestroyStream(m_deviceShared.m_deviceParams->getDevice(), &m_streamId);
 | 
					    LMS_DestroyStream(m_deviceShared.m_deviceParams->getDevice(), &m_streamId);
 | 
				
			||||||
    m_streamId.handle = 0;
 | 
					    m_streamId.handle = 0;
 | 
				
			||||||
@ -298,7 +300,7 @@ bool LimeSDRInput::start()
 | 
				
			|||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (m_running) stop();
 | 
					    if (m_running) { stop(); }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    applySettings(m_settings, true);
 | 
					    applySettings(m_settings, true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user