diff --git a/digistump-avr/libraries/DigisparkCDC/DigiCDC.cpp b/digistump-avr/libraries/DigisparkCDC/DigiCDC.cpp index 938283a..a2f2b74 100644 --- a/digistump-avr/libraries/DigisparkCDC/DigiCDC.cpp +++ b/digistump-avr/libraries/DigisparkCDC/DigiCDC.cpp @@ -151,7 +151,7 @@ void DigiCDCDevice::usbBegin() void DigiCDCDevice::usbPollWrapper() { usbPoll(); - while((!(RingBuffer_IsEmpty(&txBuf)))&&(index<9)) + while((!(RingBuffer_IsEmpty(&txBuf)))&&(index<8)) { tmp[index++] = RingBuffer_Remove(&txBuf); }