USB Host WAN Dongle library

Fork of USBHostWANDongle_bleedingedge by Donatien Garnier

Revision:
9:c9e9817c398c
Parent:
2:a8b2d0cd9bbd
Child:
10:08bce4cd973a
--- a/USBHost/USBDeviceConnected.cpp	Mon Jul 30 13:51:34 2012 +0000
+++ b/USBHost/USBDeviceConnected.cpp	Tue Jul 31 10:37:16 2012 +0000
@@ -64,7 +64,7 @@
     return true;
 }
 
-bool USBDeviceConnected::addEndpoint(uint8_t intf_nb, Endpoint * ept) {
+bool USBDeviceConnected::addEndpoint(uint8_t intf_nb, USBEndpoint * ept) {
     if ((intf_nb >= MAX_INTF) || (intf[intf_nb].in_use == false) || (intf[intf_nb].nb_endpoint >= MAX_ENDPOINT_PER_INTERFACE)) {
         return false;
     }
@@ -95,7 +95,7 @@
 
 
 
-Endpoint * USBDeviceConnected::getEndpoint(uint8_t intf_nb, ENDPOINT_TYPE type, ENDPOINT_DIRECTION dir, uint8_t index) {
+USBEndpoint * USBDeviceConnected::getEndpoint(uint8_t intf_nb, ENDPOINT_TYPE type, ENDPOINT_DIRECTION dir, uint8_t index) {
     if (intf_nb >= MAX_INTF) {
         return NULL;
     }
@@ -114,7 +114,7 @@
     return NULL;
 }
 
-Endpoint * USBDeviceConnected::getEndpoint(uint8_t intf_nb, uint8_t index) {
+USBEndpoint * USBDeviceConnected::getEndpoint(uint8_t intf_nb, uint8_t index) {
     if ((intf_nb >= MAX_INTF) || (index >= MAX_ENDPOINT_PER_INTERFACE)) {
         return NULL;
     }