]> sigrok.org Git - libsigrok.git/commit
Don't automatically clear known instances from USB drivers on scan
authorBert Vermeulen <redacted>
Sat, 27 Apr 2013 16:27:32 +0000 (18:27 +0200)
committerBert Vermeulen <redacted>
Sat, 27 Apr 2013 16:27:32 +0000 (18:27 +0200)
commit50c604f50bf33e68ac67caa8ebad20b87b3aacc1
treed8007c680c92c01b0e75ca4e6944706379f711bd
parentc2523f221364c0df51b8093693a246a713633912
Don't automatically clear known instances from USB drivers on scan

This invalidates previously returned sr_dev_inst pointers, which a
frontend may be holding. It's the frontend's responsibility to clear
the list of instances a driver keeps track of by calling

sr_dev_clear(driver);

if it wants a completely new scan done.
hardware/asix-sigma/asix-sigma.c
hardware/fx2lafw/fx2lafw.c
hardware/hantek-dso/api.c
hardware/lascar-el-usb/api.c
hardware/nexus-osciprime/api.c
hardware/uni-t-dmm/api.c
hardware/victor-dmm/api.c
hardware/zeroplus-logic-cube/api.c