From 663c55706b5b79109dfe17d440cba4de95cbdc25 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 7 Oct 2015 13:21:21 +0200 Subject: [PUSB] renamed some parameters --- 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 40a898e..433e23e 100644 --- a/cores/arduino/PluggableUSB.h +++ b/cores/arduino/PluggableUSB.h @@ -35,8 +35,8 @@ public: inline int8_t endpoint() const { return pluggedEndpoint; } protected: - virtual bool setup(USBSetup& setup, uint8_t i) = 0; - virtual int getInterface(uint8_t* interfaceNum) = 0; + virtual bool setup(USBSetup& setup, uint8_t interfaceNum) = 0; + virtual int getInterface(uint8_t* interfaceCount) = 0; virtual int getDescriptor(int8_t t) = 0; uint8_t pluggedInterface; @@ -55,9 +55,9 @@ class PluggableUSB_ { public: PluggableUSB_(); bool plug(PUSBListNode *node); - int getInterface(uint8_t* interfaceNum); - int getDescriptor(int8_t t); - bool setup(USBSetup& setup, uint8_t i); + int getInterface(uint8_t* interfaceCount); + int getDescriptor(int8_t type); + bool setup(USBSetup& setup, uint8_t interfaceNum); private: uint8_t lastIf; -- cgit v1.2.3-18-g5258