]> sigrok.org Git - libsigrok.git/commit
scpi: Fix incorrect serial_read_nonblocking call().
authorMartin Lederhilger <redacted>
Mon, 7 Sep 2015 20:43:20 +0000 (22:43 +0200)
committerUwe Hermann <redacted>
Mon, 7 Sep 2015 20:49:58 +0000 (22:49 +0200)
commitaff94d065e3ef50fa022b3e79b0dc435ae2c5b0a
tree00258b6b716d3a28206ddae60b40f8325468d463
parentdd7a4a71caf4a0c0a7d2a24b780cbdffd6602621
scpi: Fix incorrect serial_read_nonblocking call().

There was a problem in scpi_serial.c in the scpi_serial_read_data()
function. Incoming data was written at the read position in the buffer,
although it should be written at the count position in the buffer.
src/scpi/scpi_serial.c