Bugzilla – Attachment 591 Details for
Bug 1364
DS1074Z/DS1104Z memory acquisition not working
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch correct read completion
read-completion.patch (text/plain), 761 bytes, created by
Hugo Laloge
on 2020-02-12 12:09:14 CET
(
hide
)
Description:
Patch correct read completion
Filename:
MIME Type:
Creator:
Hugo Laloge
Created:
2020-02-12 12:09:14 CET
Size:
761 bytes
patch
obsolete
>diff --git a/src/hardware/rigol-ds/protocol.c b/src/hardware/rigol-ds/protocol.c >index 3ea0cea8..03f7af5a 100644 >--- a/src/hardware/rigol-ds/protocol.c >+++ b/src/hardware/rigol-ds/protocol.c >@@ -748,8 +749,8 @@ SR_PRIV int rigol_ds_receive(int fd, int revents, void *cb_data) > if (devc->num_block_read == devc->num_block_bytes) { > sr_dbg("Block has been completed"); > if (devc->model->series->protocol >= PROTOCOL_V3) { >- /* Discard the terminating linefeed */ >- sr_scpi_read_data(scpi, (char *)devc->buffer, 1); >+ /* Discard the terminating linefeed, and read one more to trigger sr_scpi_read_complete */ >+ sr_scpi_read_data(scpi, (char *)devc->buffer, 2); > } > if (devc->format == FORMAT_IEEE488_2) { > /* Prepare for possible next block */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1364
:
507
|
508
|
509
|
510
|
511
| 591