From c399a4575976d9f60f2fa8b70939413c9afdf3ae Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Tue, 8 Jun 2010 01:19:32 +0200 Subject: [PATCH] fix bulk_in endpoint --- usbtmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5