diff options
Diffstat (limited to 'cores')
| -rw-r--r-- | cores/arduino/PluggableUSB.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/cores/arduino/PluggableUSB.cpp b/cores/arduino/PluggableUSB.cpp index 582379a..7125775 100644 --- a/cores/arduino/PluggableUSB.cpp +++ b/cores/arduino/PluggableUSB.cpp @@ -31,7 +31,7 @@ int PluggableUSB_::getInterface(uint8_t* interfaceNum)  	PUSBListNode* node;  	for (node = rootNode; node; node = node->next) {  		int res = node->getInterface(interfaceNum); -		if (res == -1) +		if (res < 0)  			return -1;  		sent += res;  	} | 
