diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/HID/HID.cpp | 2 | ||||
-rw-r--r-- | libraries/HID/HID.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp index cce3834..7b17a66 100644 --- a/libraries/HID/HID.cpp +++ b/libraries/HID/HID.cpp @@ -128,7 +128,7 @@ bool HID_::setup(USBSetup& setup) return false; } -HID_::HID_(void) : PUSBListNode(1, 1, epType), +HID_::HID_(void) : PluggableUSBModule(1, 1, epType), rootNode(NULL), descriptorSize(0), protocol(1), idle(1) { diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h index c0c2b59..638fb03 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -83,7 +83,7 @@ public: const uint16_t length; }; -class HID_ : public PUSBListNode +class HID_ : public PluggableUSBModule { public: HID_(void); @@ -92,7 +92,7 @@ public: void AppendDescriptor(HIDDescriptorListNode* node); protected: - // Implementation of the PUSBListNode + // Implementation of the PluggableUSBModule int getInterface(uint8_t* interfaceCount); int getDescriptor(USBSetup& setup); bool setup(USBSetup& setup); |