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 --- libraries/HID/HID.cpp | 4 ++-- libraries/HID/HID.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries/HID') diff --git a/libraries/HID/HID.cpp b/libraries/HID/HID.cpp index ff8e67b..b6b9cea 100644 --- a/libraries/HID/HID.cpp +++ b/libraries/HID/HID.cpp @@ -27,9 +27,9 @@ HID_& HID() return obj; } -int HID_::getInterface(uint8_t* interfaceNum) +int HID_::getInterface(uint8_t* interfaceCount) { - *interfaceNum += 1; // uses 1 + *interfaceCount += 1; // uses 1 HIDDescriptor hidInterface = { D_INTERFACE(interface(), 1, 3, 0, 0), D_HIDREPORT(descriptorSize), diff --git a/libraries/HID/HID.h b/libraries/HID/HID.h index a7f5c68..e54e45e 100644 --- a/libraries/HID/HID.h +++ b/libraries/HID/HID.h @@ -79,7 +79,7 @@ public: protected: // Implementation of the PUSBListNode - int getInterface(uint8_t* interfaceNum); + int getInterface(uint8_t* interfaceCount); int getDescriptor(int8_t type); bool setup(USBSetup& setup, uint8_t interfaceNum); -- cgit v1.2.3-18-g5258