@@ -28,7 +28,7 @@ extern uint8_t _initEndpoints[];
28
28
int PluggableUSB_::getInterface (uint8_t * interfaceCount)
29
29
{
30
30
int sent = 0 ;
31
- PUSBListNode * node;
31
+ PluggableUSBModule * node;
32
32
for (node = rootNode; node; node = node->next ) {
33
33
int res = node->getInterface (interfaceCount);
34
34
if (res < 0 )
@@ -40,7 +40,7 @@ int PluggableUSB_::getInterface(uint8_t* interfaceCount)
40
40
41
41
int PluggableUSB_::getDescriptor (USBSetup& setup)
42
42
{
43
- PUSBListNode * node;
43
+ PluggableUSBModule * node;
44
44
for (node = rootNode; node; node = node->next ) {
45
45
int ret = node->getDescriptor (setup);
46
46
// ret!=0 -> request has been processed
@@ -52,7 +52,7 @@ int PluggableUSB_::getDescriptor(USBSetup& setup)
52
52
53
53
bool PluggableUSB_::setup (USBSetup& setup)
54
54
{
55
- PUSBListNode * node;
55
+ PluggableUSBModule * node;
56
56
for (node = rootNode; node; node = node->next ) {
57
57
if (node->setup (setup)) {
58
58
return true ;
@@ -61,7 +61,7 @@ bool PluggableUSB_::setup(USBSetup& setup)
61
61
return false ;
62
62
}
63
63
64
- bool PluggableUSB_::plug (PUSBListNode *node)
64
+ bool PluggableUSB_::plug (PluggableUSBModule *node)
65
65
{
66
66
if ((lastEp + node->numEndpoints ) > USB_ENDPOINTS) {
67
67
return false ;
@@ -70,7 +70,7 @@ bool PluggableUSB_::plug(PUSBListNode *node)
70
70
if (!rootNode) {
71
71
rootNode = node;
72
72
} else {
73
- PUSBListNode *current = rootNode;
73
+ PluggableUSBModule *current = rootNode;
74
74
while (current->next ) {
75
75
current = current->next ;
76
76
}
0 commit comments