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 |
} |