Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: USBBULK.cpp
- Revision:
- 2:2dc4682d7c0f
- Parent:
- 1:84abb7607a27
- Child:
- 3:a71b7d2b97ef
--- a/USBBULK.cpp Wed Feb 26 14:50:50 2014 +0000 +++ b/USBBULK.cpp Wed Feb 26 15:05:45 2014 +0000 @@ -30,9 +30,9 @@ bool result; result = USBDevice::readEP(EPBULK_OUT, Data, &bytesRead, MAX_BULK_SIZE ); #if defined(TARGET_LPC11UXX) - wait_us(10); //Counter Mesure USB Stop !? + wait_us(100); //Counter Mesure USB Bank Wait!? #endif - if(!USBDevice::readStart(EPBULK_OUT, MAX_BULK_SIZE )) + if(!readStart(EPBULK_OUT, MAX_BULK_SIZE )) { return false; } @@ -47,9 +47,9 @@ bool result; result = USBDevice::readEP_NB(EPBULK_OUT, Data, &bytesRead, MAX_BULK_SIZE ); #if defined(TARGET_LPC11UXX) - wait_us(10); //Counter Mesure USB Stop !? + wait_us(100); //Counter Mesure USB Bank Wait !? #endif - if(!USBDevice::readStart(EPBULK_OUT, MAX_BULK_SIZE )) + if(!readStart(EPBULK_OUT, MAX_BULK_SIZE )) { return false; }