Problem solved in CH34x devices when trying to write

pull/8/head 2.4
Felipe Herranz 2015-05-18 18:28:10 +02:00
rodzic 922571afd1
commit 3f1857008f
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -91,7 +91,8 @@ public class CH34xSerialDevice extends UsbSerialDevice
&& endpoint.getDirection() == UsbConstants.USB_DIR_IN)
{
inEndpoint = endpoint;
}else
}else if(endpoint.getType() == UsbConstants.USB_ENDPOINT_XFER_BULK
&& endpoint.getDirection() == UsbConstants.USB_DIR_OUT)
{
outEndpoint = endpoint;
}