CHG: replaced with a define
This commit is contained in:
@@ -668,7 +668,7 @@ void AT91F_USB_SendData(AT91PS_UDP pUdp, const char *pData, uint32_t length) {
|
|||||||
uint32_t cpt = 0;
|
uint32_t cpt = 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
cpt = MIN(length, 8);
|
cpt = MIN(length, AT91C_EP_CONTROL_SIZE);
|
||||||
length -= cpt;
|
length -= cpt;
|
||||||
|
|
||||||
while (cpt--)
|
while (cpt--)
|
||||||
|
|||||||
Reference in New Issue
Block a user