clean up USB API 2

This commit is contained in:
NIIBE Yutaka
2012-01-16 13:24:31 +09:00
parent 00541d7627
commit cbb2c6aab5
5 changed files with 48 additions and 33 deletions

View File

@@ -132,8 +132,7 @@ STDOUTthread (void *arg)
chEvtClear (EV_TX_READY);
USB_SIL_Write (EP3_IN, buffer_in, count_in);
SetEPTxValid (ENDP3);
usb_lld_write (ENDP3, buffer_in, count_in);
chEvtWaitOne (EV_TX_READY);
}