From e42d7d6221e175e087196f946ae139ca236f4e46 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 30 Sep 2015 19:30:23 +0200 Subject: [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. --- cores/arduino/PluggableUSB.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cores/arduino/PluggableUSB.h') 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; }; -- cgit v1.2.3-18-g5258