X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/3fd246041b10609a204a6352aa1b86d7000171d4..0bcc82ac28ef9461f04e47f0b0885ee156d926f9:/Projects/Benito/Benito.c diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c index 3b3a39860..32c663cb6 100644 --- a/Projects/Benito/Benito.c +++ b/Projects/Benito/Benito.c @@ -100,7 +100,7 @@ int main(void) /* Echo bytes from the target to the host via the virtual serial port */ while (Tx_Buffer.Count) { - CDC_Device_SendByte(&VirtualSerial_CDC_Interface, RingBuffer_Remove(&Tx_Buffer)); + CDC_Device_SendByte(&VirtualSerial_CDC_Interface, RingBuffer_AtomicRemove(&Tx_Buffer)); LEDs_TurnOnLEDs(LEDMASK_RX); PulseMSRemaining.RxLEDPulse = TX_RX_LED_PULSE_MS;