[sigrok-devel] More enhancements, fixes, ... for SCPI and hameg-hmo

2016-05-02 Thread Stefan Bruens
Hi, there is more stuff to pull: https://github.com/StefanBruens/libsigrok.git for_upstream_20160503 Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 --

[sigrok-devel] [PATCH] Remove unnecessary driver context checks

2016-05-02 Thread Lars-Peter Clausen
Some drivers check in some of their driver callbacks if the driver has been initialized and return an error if it has not. For the scan() callback the sigrok core checks if the driver has been initialized and if not returns an error. So it is not possible that the scan() callback gets called if th

[sigrok-devel] [PATCH] Drop SR_CONF_SET flag from SR_CONF_CONTINUOUS options

2016-05-02 Thread Lars-Peter Clausen
SR_CONF_CONTINUOUS is a capability option indicating whether a device supports continuous capture or not. If the option exists the device supports continuous capture and otherwise it doesn't. There is no value associated with it and hence setting the SR_CONF_SET flag is nonsensical. None of the dr