We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fdb0ef commit 8bc21f7Copy full SHA for 8bc21f7
hardware/arduino/avr/cores/arduino/PluggableUSB.cpp
@@ -31,7 +31,7 @@ int PluggableUSB_::getInterface(uint8_t* interfaceNum)
31
PUSBListNode* node;
32
for (node = rootNode; node; node = node->next) {
33
int res = node->getInterface(interfaceNum);
34
- if (res == -1)
+ if (res < 0)
35
return -1;
36
sent += res;
37
}
0 commit comments