Skip to content

Commit 61fc981

Browse files
committed
Fixes USBSerial connected VRx devices. i.e. S3
1 parent fb2fc17 commit 61fc981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Vrx_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ void loop()
552552
}
553553

554554
#if defined(PLATFORM_ESP32)
555-
if (uxQueueMessagesWaiting(rxqueue) > 0 && Serial.availableForWrite() == 128)
555+
if (uxQueueMessagesWaiting(rxqueue) > 0 && Serial.availableForWrite() >= 128)
556556
{
557557
mspPacket_t rxPacket;
558558
if (xQueueReceive(rxqueue, &rxPacket, (TickType_t)512) == pdTRUE)

0 commit comments

Comments
 (0)