Fix OpenRGB packet drops

This commit is contained in:
Glory 2021-10-03 17:25:48 -05:00 committed by Dimitris Mantzouranis
parent d898dafe19
commit 14fec20512
1 changed files with 1 additions and 9 deletions

View File

@ -557,15 +557,7 @@ void handleNAK(USBDriver *usbp, usbep_t ep) {
if(out)
{
if (nakcnt[ep] < 1) {
// 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);
}
// no ack required here
}
else
{