Fix OpenRGB packet drops
This commit is contained in:
parent
d898dafe19
commit
14fec20512
|
@ -557,15 +557,7 @@ void handleNAK(USBDriver *usbp, usbep_t ep) {
|
||||||
|
|
||||||
if(out)
|
if(out)
|
||||||
{
|
{
|
||||||
if (nakcnt[ep] < 1) {
|
// no ack required here
|
||||||
// NAK 1 time
|
|
||||||
USB_EPnNak(ep);
|
|
||||||
nakcnt[ep]++;
|
|
||||||
} else {
|
|
||||||
// By acking next OUT token from host we are allowing reception
|
|
||||||
// of the data from host
|
|
||||||
USB_EPnAck(ep, 0);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue