]> git.zerfleddert.de Git - rigol/commitdiff
fix bulk_in endpoint
authorMichael Gernoth <michael@gernoth.net>
Mon, 7 Jun 2010 23:19:32 +0000 (01:19 +0200)
committerMichael Gernoth <michael@gernoth.net>
Mon, 7 Jun 2010 23:19:32 +0000 (01:19 +0200)
usbtmc.c

index 6af5a13dc2c7a64d45e2404afd9ec18135b80551..85842ec8ceac550599f8ae46ff6e9b4b43a3f2cc 100644 (file)
--- 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;
Impressum, Datenschutz