2014-08-06 22:20 GMT+02:00 <pulkomandy@xxxxxxxxxxxxx>: > > + if(((status>>EHCI_QTD_PID_SHIFT) & > EHCI_QTD_PID_MASK) == EHCI_QTD_PID_IN > + && ((status>>EHCI_QTD_BYTES_SHIFT) & > EHCI_QTD_BYTES_MASK) !=0) { > + // a short packet condition existed > on this descriptor > + > if(transfer->transfer->TransferPipe()->Type() & USB_OBJECT_CONTROL_PIPE) { > + // for control pipes, the > next descriptor > + // executed is the Status > descriptor > + while(!(descriptor->next_phy > & EHCI_ITEM_TERMINATE)) { > + descriptor = > descriptor->next_log; > + } > + continue; > + } > + // for bulk/interrupt pipes, no other > descriptors are executed > + transferDone = true; > + break; > + } > + Please add a space between if, while and the opening brace. Bye, Jérôme