zeroplus-logic-cube: init and scan fixes
authorBert Vermeulen <bert@biot.com>
Sat, 14 Jul 2012 11:00:47 +0000 (13:00 +0200)
committerBert Vermeulen <bert@biot.com>
Fri, 3 Aug 2012 08:27:38 +0000 (10:27 +0200)
commita90986b3c9541d9a569e108a358bdaee01f92054
tree70f90e83f5c39d6534580e2bd4c486f8f76a996f
parent8f0be4292724e87247a88fdd9f06d6d6c2b07317
zeroplus-logic-cube: init and scan fixes

libusb context needs to be initialized only once, not ever scan.
Every scan invalidates the last one, so clean up any previous run's
results first.
libsigrok/hardware/zeroplus-logic-cube/zeroplus.c