]> git.zerfleddert.de Git - usb-driver/commitdiff
replace a magic value by its name
authormichael <michael>
Sun, 25 Feb 2007 00:15:33 +0000 (00:15 +0000)
committermichael <michael>
Sun, 25 Feb 2007 00:15:33 +0000 (00:15 +0000)
usb-driver.c

index 8ef7069bb53c3c4a1896255c47863b8a79a22472..264da44c0eaec66203ddda05a4c5c474dd07e79b 100644 (file)
@@ -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.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);
                udi->Pipe0.dwInterval = 0;
 
                pConfigs = &(udi->pConfigs);
Impressum, Datenschutz