Closed CodingMarco closed 1 year ago
I don't have one of the buggy Siglent firmwares handy to know if this is a bug or if it's a workaround for #652.
@mandl can you have a look?
Hello Andrew, he ist right. The else is Missing. Please merge the pull requests. Thanks for reporting.
Andrew Zonenberg @.***> schrieb am So., 12. März 2023, 12:05:
I don't have one of the buggy Siglent firmwares handy to know if this is a bug or if it's a workaround for #652 https://github.com/glscopeclient/scopehal/issues/652.
@mandl https://github.com/mandl can you have a look?
— Reply to this email directly, view it on GitHub https://github.com/glscopeclient/scopehal/issues/754#issuecomment-1465275534, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAER3437C6FYBTVSWHAZAL3W3YUCLANCNFSM6AAAAAAVYI4OPU . You are receiving this because you were mentioned.Message ID: @.***>
See: https://github.com/glscopeclient/scopehal/blob/e3fb92510a07f40565ba507046d728cdad0deb22/scopehal/SCPITMCTransport.cpp#L198-L207
the
else
seems to be missing, thus the read() is executed twice which lets the whole thing fail.