Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140817 | Differences between
and this patch

Collapse All | Expand All

(-)moto4lin-0.3-old/moto_ui/p2kproc.cpp (-1 / +1 lines)
Lines 707-713 Link Here
707
	phoneHandle=0;
707
	phoneHandle=0;
708
	phoneHandle = usb_open(phone);
708
	phoneHandle = usb_open(phone);
709
	if (phoneHandle==0) RAISE("Unable to open phone\n");
709
	if (phoneHandle==0) RAISE("Unable to open phone\n");
710
	if (usb_set_configuration(phoneHandle,1)) RAISE("Unable to set configuration");
710
	usb_set_configuration(phoneHandle,1);
711
	if (usb_claim_interface(phoneHandle, INTERFACE_TEST_COMMAND)) RAISE("Unable to claim the interface");
711
	if (usb_claim_interface(phoneHandle, INTERFACE_TEST_COMMAND)) RAISE("Unable to claim the interface");
712
	return(1);
712
	return(1);
713
}
713
}

Return to bug 140817