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.
Dependents: VodafoneUSBModem_bleedingedge2
Fork of USBHostWANDongle_bleedingedge by
Revision 23:8f2d9a244224, committed 2012-12-19
- Comitter:
- ashleymills
- Date:
- Wed Dec 19 09:32:39 2012 +0000
- Parent:
- 22:bec61bcc9c25
- Child:
- 24:f4b676f61906
- Commit message:
- No changes
Changed in this revision
--- a/USB3GModule/WANDongle.cpp Tue Dec 18 15:31:57 2012 +0000
+++ b/USB3GModule/WANDongle.cpp Wed Dec 19 09:32:39 2012 +0000
@@ -93,8 +93,6 @@
DBG("setting serial count %d to %d",m_serialCount,WANDONGLE_MAX_SERIAL_PORTS);
m_serialCount = WANDONGLE_MAX_SERIAL_PORTS;
}
- m_serialCount = 3;
-
for(int j = 0; j < m_serialCount; j++)
{
DBG("Connecting serial port #%d", j+1);
--- 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()
