fixed usb/serial
This commit is contained in:
parent
d9b80de6d5
commit
fb9c05bbef
1 changed files with 1 additions and 1 deletions
|
@ -702,7 +702,7 @@ findendpoints(Serial *ser, int ifc)
|
||||||
*/
|
*/
|
||||||
eps = ser->dev->usb->conf[0]->iface[ifc]->ep;
|
eps = ser->dev->usb->conf[0]->iface[ifc]->ep;
|
||||||
|
|
||||||
for(i = 0; i < Niface; i++){
|
for(i = 0; i < Nep; i++){
|
||||||
if((ep = eps[i]) == nil)
|
if((ep = eps[i]) == nil)
|
||||||
continue;
|
continue;
|
||||||
if(ser->hasepintr && ep->type == Eintr &&
|
if(ser->hasepintr && ep->type == Eintr &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue