libsigrok/hardware/hantek-dso
Bert Vermeulen 69b07d14db allow for intermediate stage in stopping acquisition
In the case of USB drivers, a driver's dev_acquisition_stop() cannot
simply remove its fd sources from the session and close its devices:
a USB transfer might still be underway, and it needs to be finished
(and its memory freed) properly.

An sr_dev_inst->status value is added: SR_ST_STOPPING, which should
be set when the driver's dev_acquisition_stop() is called, and acts
as a marker for the USB event handler to wind up its operations.

In order for dev_acquisition_stop() to be able to set the sdi status,
however, it needs to be unconstified.
2012-11-06 15:16:22 +01:00
..
Makefile.am sr: initial support for Hantek 2xxx/5200 USB oscilloscopes 2012-05-30 23:56:12 +02:00
api.c allow for intermediate stage in stopping acquisition 2012-11-06 15:16:22 +01:00
dso.c config.h usage cleanups. 2012-10-24 00:41:21 +02:00
dso.h sr: make struct drv_context global 2012-09-11 21:27:26 +02:00