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.
Fork of USBHostWANDongle by
Diff: USB3GModule/WANDongleInitializer.cpp
- Revision:
- 23:8f2d9a244224
- Parent:
- 22:bec61bcc9c25
- Child:
- 24:f4b676f61906
diff -r bec61bcc9c25 -r 8f2d9a244224 USB3GModule/WANDongleInitializer.cpp --- a/USB3GModule/WANDongleInitializer.cpp Tue Dec 18 15:31:57 2012 +0000 +++ b/USB3GModule/WANDongleInitializer.cpp Wed Dec 19 09:32:39 2012 +0000 @@ -179,7 +179,7 @@ USBEndpoint* VodafoneMU509Initializer::getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx) { - return pDev->getEndpoint(serialPortNumber, BULK_ENDPOINT, tx?OUT:IN, 0); + return pDev->getEndpoint((serialPortNumber==1)?0:1, BULK_ENDPOINT, tx?OUT:IN, 0); } int VodafoneMU509Initializer::getSerialPortCount()