FIX: @wllm-rbnt 's typo fixes

This commit is contained in:
iceman1001 committed 2016-02-12 07:37:10 +01:00
1 parent fe144f121d
commit a11ca2f305
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -363,7 +363,7 @@ uint32_t usb_write(const byte_t* data, const size_t len) {
cpt = MIN(length, AT91C_EP_IN_SIZE-1);
length -= cpt;
while (cpt--) pUdp->UDP_FDR[AT91C_EP_IN] = *data++;
// Wait for the the first bank to be sent
// Wait for the first bank to be sent
while (!(pUdp->UDP_CSR[AT91C_EP_IN] & AT91C_UDP_TXCOMP)) {
if (!usb_check()) return length;
}