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
Diff: USB3GModule/WANDongleInitializer.cpp
- Revision:
- 9:c9e9817c398c
- Parent:
- 8:0d1ec493842c
- Child:
- 10:08bce4cd973a
- Child:
- 12:a712bad7a979
diff -r 0d1ec493842c -r c9e9817c398c USB3GModule/WANDongleInitializer.cpp
--- a/USB3GModule/WANDongleInitializer.cpp Mon Jul 30 13:51:34 2012 +0000
+++ b/USB3GModule/WANDongleInitializer.cpp Tue Jul 31 10:37:16 2012 +0000
@@ -64,7 +64,7 @@
{
if (pDev->getInterface(i)->intf_class == MSD_CLASS)
{
- Endpoint* pEp = pDev->getEndpoint(i, BULK_ENDPOINT, OUT);
+ USBEndpoint* pEp = pDev->getEndpoint(i, BULK_ENDPOINT, OUT);
if ( pEp != NULL )
{
DBG("MSD descriptor found on device %p, intf %d, will now try to switch into serial mode", (void *)pDev, i);
@@ -76,7 +76,7 @@
return false;
}
-Endpoint* VodafoneK3770Initializer::getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx)
+USBEndpoint* VodafoneK3770Initializer::getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx)
{
return pDev->getEndpoint(serialPortNumber, BULK_ENDPOINT, tx?OUT:IN, 0);
}
@@ -174,7 +174,7 @@
{
if (pDev->getInterface(i)->intf_class == MSD_CLASS)
{
- Endpoint* pEp = pDev->getEndpoint(i, BULK_ENDPOINT, OUT);
+ USBEndpoint* pEp = pDev->getEndpoint(i, BULK_ENDPOINT, OUT);
if ( pEp != NULL )
{
DBG("MSD descriptor found on device %p, intf %d, will now try to switch into serial mode", (void *)pDev, i);
@@ -186,7 +186,7 @@
return false;
}
-Endpoint* VodafoneK3772ZInitializer::getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx)
+USBEndpoint* VodafoneK3772ZInitializer::getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx)
{
return pDev->getEndpoint((serialPortNumber==1)?0:1, BULK_ENDPOINT, tx?OUT:IN, 0);
}
@@ -240,7 +240,7 @@
{
if( m_hasSwitched )
{
- DBG("Endpoint on Inteface #%d; Type:%d; Direction:%d", intf_nb, type, dir);
+ DBG("USBEndpoint on Inteface #%d; Type:%d; Direction:%d", intf_nb, type, dir);
if( (type == BULK_ENDPOINT) && m_endpointsToFetch )
{
m_endpointsToFetch--;
