]> git.zerfleddert.de Git - rigol/commitdiff
fix bmTransferAttributes in REQUEST_DEV_DEP_MSG_IN
authorMichael Gernoth <michael@gernoth.net>
Tue, 8 Jun 2010 08:17:14 +0000 (10:17 +0200)
committerMichael Gernoth <michael@gernoth.net>
Tue, 8 Jun 2010 08:17:14 +0000 (10:17 +0200)
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