]> sigrok.org Git - libsigrok.git/commit
scpi-pps: Don't block waiting for a value on capture stop.
authorMartin Ling <redacted>
Mon, 10 Sep 2018 15:10:31 +0000 (16:10 +0100)
committerMartin Ling <redacted>
Mon, 10 Sep 2018 15:12:58 +0000 (16:12 +0100)
commit49f7cb24259851b1b8b5c5fc863343c90a7366a4
treed15258e18a0b65d29dbc7e65e43e6c2167b0f957
parentcda70c2c19f5fdd218857616c885ebf5bbc96367
scpi-pps: Don't block waiting for a value on capture stop.

The comment says "A requested value is certainly on the way", but the code no
longer works this way. The receive handler requests a value and blocks until
it is received. There is no value pending between receive handler calls, so
this code now only leads to a timeout.
src/hardware/scpi-pps/api.c