usbhsh_device_has_endpoint
if (!usbhsh_device_has_endpoint(udev))
if (usbhsh_device_has_endpoint(udev)) {
if (usbhsh_device_has_endpoint(udev0)) {