Tiny cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42838 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -704,7 +704,7 @@ usb_disk_device_added(usb_device newDevice, void **cookie)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!hasIn && (endpoint->descr->endpoint_address
|
if (!hasIn && (endpoint->descr->endpoint_address
|
||||||
& USB_ENDPOINT_ADDR_DIR_IN)) {
|
& USB_ENDPOINT_ADDR_DIR_IN) != 0) {
|
||||||
device->bulk_in = endpoint->handle;
|
device->bulk_in = endpoint->handle;
|
||||||
hasIn = true;
|
hasIn = true;
|
||||||
} else if (!hasOut && (endpoint->descr->endpoint_address
|
} else if (!hasOut && (endpoint->descr->endpoint_address
|
||||||
|
|||||||
Reference in New Issue
Block a user