fix bmTransferAttributes in REQUEST_DEV_DEP_MSG_IN
[rigol] / usbtmc.c
index e1366ae8cd8b2082eb7aebb9d5f8945b1bd5a81c..2ccbf897ca4617a51e514a65c03f4d6804c8ed73 100644 (file)
--- a/usbtmc.c
+++ b/usbtmc.c
@@ -198,7 +198,7 @@ int usbtmc_sendscpi(struct scope *sc, char* cmd,
                req->bTag = sc->usb.bTag;
                req->bTagInverse = ~sc->usb.bTag;
                req->TransferSize = LE32(sc->usb.wMaxPacketSize_in);
                req->bTag = sc->usb.bTag;
                req->bTagInverse = ~sc->usb.bTag;
                req->TransferSize = LE32(sc->usb.wMaxPacketSize_in);
-               req->bmTransferAttributes = USBTMC_TRANSFERATTRIB_EOM;
+               req->bmTransferAttributes = 0;
                req->TermChar = 0;
 
                /* send read command */
                req->TermChar = 0;
 
                /* send read command */
Impressum, Datenschutz