Bug 108

Summary: Device list not cleared before new sr_driver_scan()
Product: PulseView Reporter: Bert Vermeulen <bert>
Component: OtherAssignee: Nobody <nobody>
Status: RESOLVED FIXED    
Severity: normal CC: joel
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 45    

Description Bert Vermeulen 2013-04-27 18:44:12 CEST
None of the drivers clear the list of instances they know about automatically on scan anymore, fixing bug 104.

However, that means pulseview needs to clear that list itself when running a scan. Currently when doing File -> Connect to device on a driver that can auto-discover hardware, the device selected with "OK" is added to the list of already found devices in the top toolbar -- so it'll be in there twice.

Pulseview needs to call sr_dev_clear(driver) before doing a scan on that driver.