diff options
Diffstat (limited to 'libraries/HID/HID.cpp')
-rw-r--r-- | libraries/HID/HID.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp index 7b17a66..411529e 100644 --- a/libraries/HID/HID.cpp +++ b/libraries/HID/HID.cpp @@ -47,7 +47,7 @@ int HID_::getDescriptor(USBSetup& setup) if (setup.wIndex != pluggedInterface) { return 0; } int total = 0; - HIDDescriptorListNode* node; + HIDSubDescriptor* node; for (node = rootNode; node; node = node->next) { int res = USB_SendControl(TRANSFER_PGM, node->data, node->length); if (res == -1) @@ -57,12 +57,12 @@ int HID_::getDescriptor(USBSetup& setup) return total; } -void HID_::AppendDescriptor(HIDDescriptorListNode *node) +void HID_::AppendDescriptor(HIDSubDescriptor *node) { if (!rootNode) { rootNode = node; } else { - HIDDescriptorListNode *current = rootNode; + HIDSubDescriptor *current = rootNode; while (current->next) { current = current->next; } |