~ruther/qmk_firmware

eb309be6f009a9f3923ea49cec3653b75ec47e69 — xyzz 5 years ago 4139de3
Improve VIRTSER performance (#7528)

1 files changed, 1 insertions(+), 1 deletions(-)

M tmk_core/protocol/lufa/lufa.c
M tmk_core/protocol/lufa/lufa.c => tmk_core/protocol/lufa/lufa.c +1 -1
@@ 869,7 869,7 @@ void virtser_recv(uint8_t c) {
void virtser_task(void) {
    uint16_t count = CDC_Device_BytesReceived(&cdc_device);
    uint8_t  ch;
    if (count) {
    for (; count; --count) {
        ch = CDC_Device_ReceiveByte(&cdc_device);
        virtser_recv(ch);
    }