We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2df9e9c commit 7eb6eebCopy full SHA for 7eb6eeb
cores/arduino/USB/USBCore.cpp
@@ -684,9 +684,13 @@ static void USB_ISR(void)
684
// Send the endpoint status
685
// Check if the endpoint if currently halted
686
if( isEndpointHalt == 1 )
687
- UDD_Send8(EP0, 1); // TODO
+ {
688
+ UDD_Send8(EP0, 1); // TODO
689
+ }
690
else
- UDD_Send8(EP0, 0); // TODO
691
692
+ UDD_Send8(EP0, 0); // TODO
693
694
UDD_Send8(EP0, 0);
695
}
696
@@ -697,9 +701,13 @@ static void USB_ISR(void)
697
701
{
698
702
// Enable remote wake-up and send a ZLP
699
703
if( isRemoteWakeUpEnabled == 1 )
700
- UDD_Send8(EP0, 1);
704
705
+ UDD_Send8(EP0, 1);
706
707
- UDD_Send8(EP0, 0);
708
709
+ UDD_Send8(EP0, 0);
710
711
712
713
else // if( setup.wValueL == 0) // ENDPOINTHALT
0 commit comments