aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/PluggableUSB.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@arduino.cc>2015-09-30 19:30:23 +0200
committerCristian Maglie <c.maglie@arduino.cc>2015-10-02 11:59:23 +0200
commite42d7d6221e175e087196f946ae139ca236f4e46 (patch)
tree64d2505fd13f888b9ef5542c684f2273897e9942 /cores/arduino/PluggableUSB.h
parentc0f9296ae5bae083bcc793de1ddd7c7c79ad4236 (diff)
[PUSB] Fixed check for available endpoints
The check for available slot in PluggableUSB is done on the endpoint and not on the number of plugged modules. The modulesCount field is no longer useful and it has been removed.
Diffstat (limited to 'cores/arduino/PluggableUSB.h')
-rw-r--r--cores/arduino/PluggableUSB.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cores/arduino/PluggableUSB.h b/cores/arduino/PluggableUSB.h
index 93ee15c..824440a 100644
--- a/cores/arduino/PluggableUSB.h
+++ b/cores/arduino/PluggableUSB.h
@@ -63,7 +63,6 @@ public:
private:
uint8_t lastIf;
uint8_t lastEp;
- uint8_t modulesCount;
PUSBListNode* rootNode;
};