Skip to content

Commit

Permalink
Correct SET_INTERFACE_REQUEST
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainpelissier committed Sep 4, 2018
1 parent 456c0d5 commit 27f132c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cores/arduino/USB/USBCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -800,8 +800,8 @@ static void USB_ISR(void)
}
else if (SET_INTERFACE == r)
{
_usbSetInterface = setup.wValueL;
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);)
}
}
else
Expand Down

0 comments on commit 27f132c

Please sign in to comment.