We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 456c0d5 commit 27f132cCopy full SHA for 27f132c
cores/arduino/USB/USBCore.cpp
@@ -800,8 +800,8 @@ static void USB_ISR(void)
800
}
801
else if (SET_INTERFACE == r)
802
{
803
- _usbSetInterface = setup.wValueL;
804
- TRACE_CORE(puts(">>> EP0 Int: SET_INTERFACE\r\n");)
+ _usbSetInterface = setup.wIndex;
+ TRACE_CORE(printf(">>> EP0 Int: SET_INTERFACE interface=%d alternateSetting=%d\r\n",_usbSetInterface, setup.wValueL);)
805
806
807
else
0 commit comments