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