From 2e755384f50eee83bcf0c850978b1387f185a2be Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 12 Oct 2015 12:14:07 +0200 Subject: [PUSB] Renamed PUSBListNode to PluggableUSBModule --- cores/arduino/PluggableUSB.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cores/arduino/PluggableUSB.h') diff --git a/cores/arduino/PluggableUSB.h b/cores/arduino/PluggableUSB.h index 1f3057a..3df9bff 100644 --- a/cores/arduino/PluggableUSB.h +++ b/cores/arduino/PluggableUSB.h @@ -25,9 +25,9 @@ #if defined(USBCON) -class PUSBListNode { +class PluggableUSBModule { public: - PUSBListNode(uint8_t numEps, uint8_t numIfs, uint8_t *epType) : + PluggableUSBModule(uint8_t numEps, uint8_t numIfs, uint8_t *epType) : numEndpoints(numEps), numInterfaces(numIfs), endpointType(epType) { } @@ -43,7 +43,7 @@ protected: const uint8_t numInterfaces; const uint8_t *endpointType; - PUSBListNode *next = NULL; + PluggableUSBModule *next = NULL; friend class PluggableUSB_; }; @@ -51,7 +51,7 @@ protected: class PluggableUSB_ { public: PluggableUSB_(); - bool plug(PUSBListNode *node); + bool plug(PluggableUSBModule *node); int getInterface(uint8_t* interfaceCount); int getDescriptor(USBSetup& setup); bool setup(USBSetup& setup); @@ -59,7 +59,7 @@ public: private: uint8_t lastIf; uint8_t lastEp; - PUSBListNode* rootNode; + PluggableUSBModule* rootNode; }; // Replacement for global singleton. -- cgit v1.2.3-18-g5258