diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-12 12:14:07 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-12 12:14:07 +0200 |
commit | 2e755384f50eee83bcf0c850978b1387f185a2be (patch) | |
tree | c04fe2465acef63e7baf7c84e4721737f7483fb9 /libraries | |
parent | f720c8cacf91877bcd33d11fe660cf0dcaf0a4d8 (diff) |
[PUSB] Renamed PUSBListNode to PluggableUSBModule
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); |