aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-10-12 12:14:07 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-12 12:14:07 +0200
commit2e755384f50eee83bcf0c850978b1387f185a2be (patch)
treec04fe2465acef63e7baf7c84e4721737f7483fb9 /libraries
parentf720c8cacf91877bcd33d11fe660cf0dcaf0a4d8 (diff)
[PUSB] Renamed PUSBListNode to PluggableUSBModule
Diffstat (limited to 'libraries')
-rw-r--r--libraries/HID/HID.cpp2
-rw-r--r--libraries/HID/HID.h4
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);