From: Michael Gernoth Date: Tue, 8 Jun 2010 08:17:14 +0000 (+0200) Subject: fix bmTransferAttributes in REQUEST_DEV_DEP_MSG_IN X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/commitdiff_plain/a163d2fb2ffbcf4babb60d164b8f9dfe7bde61e0?hp=90e416c4df00269ab86d349ff677d0a2c0b0bd40 fix bmTransferAttributes in REQUEST_DEV_DEP_MSG_IN --- diff --git a/usbtmc.c b/usbtmc.c index e1366ae..2ccbf89 100644 --- 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->bmTransferAttributes = USBTMC_TRANSFERATTRIB_EOM; + req->bmTransferAttributes = 0; req->TermChar = 0; /* send read command */