From 8923df66b0d6ad73a2f44c736ccb2667e9a91a8b Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 25 Feb 2007 00:15:33 +0000 Subject: [PATCH] replace a magic value by its name --- usb-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usb-driver.c b/usb-driver.c index 8ef7069..264da44 100644 --- a/usb-driver.c +++ b/usb-driver.c @@ -77,7 +77,7 @@ int usb_deviceinfo(unsigned char *buf) { udi->Pipe0.dwNumber = 0x00; udi->Pipe0.dwMaximumPacketSize = usbdevice->descriptor.bMaxPacketSize0; udi->Pipe0.type = 0; - udi->Pipe0.direction = 3; + udi->Pipe0.direction = WDU_DIR_IN_OUT; udi->Pipe0.dwInterval = 0; pConfigs = &(udi->pConfigs); -- 2.39.5