From: Michael Gernoth Date: Mon, 7 Jun 2010 23:19:32 +0000 (+0200) Subject: fix bulk_in endpoint X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/commitdiff_plain/c399a4575976d9f60f2fa8b70939413c9afdf3ae?ds=sidebyside;hp=80564ddbb1203bca3d641fb8c9762ed2a6ad6264 fix bulk_in endpoint --- diff --git a/usbtmc.c b/usbtmc.c index 6af5a13..85842ec 100644 --- a/usbtmc.c +++ b/usbtmc.c @@ -47,8 +47,8 @@ static struct scope* usbtmc_find_scope() { /* TODO: FIXME */ sc->usb.brokenRigol = 1; - sc->usb.ep_bulk_out = 1; - sc->usb.ep_bulk_in = 2; + sc->usb.ep_bulk_out = 0x01; + sc->usb.ep_bulk_in = 0x82; sc->usb.wMaxPacketSize_in = 0x40; return sc;