We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5755dde commit 9e9f54dCopy full SHA for 9e9f54d
1 file changed
cores/arduino/USBCore.cpp
@@ -496,14 +496,13 @@ bool SendConfiguration(int maxlen)
496
static
497
bool SendDescriptor(USBSetup& setup)
498
{
499
- int ret;
500
u8 t = setup.wValueH;
501
if (USB_CONFIGURATION_DESCRIPTOR_TYPE == t)
502
return SendConfiguration(setup.wLength);
503
504
InitControl(setup.wLength);
505
#ifdef PLUGGABLE_USB_ENABLED
506
- ret = PluggableUSB().getDescriptor(setup);
+ int ret = PluggableUSB().getDescriptor(setup);
507
if (ret != 0) {
508
return (ret > 0 ? true : false);
509
}
0 commit comments