Skip to content

Commit a807ee4

Browse files
committed
Enable updates to settings.rtsOnBytes to enable RTS
1 parent 62699e7 commit a807ee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/LoRaSerial/Serial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ void updateSerial()
302302

303303
//Assert RTS when there is enough space in the receive buffer
304304
if ((!rtsAsserted) && (availableRXBytes() < (sizeof(serialReceiveBuffer) / 2))
305-
&& (availableTXBytes() <= RTS_ON_BYTES))
305+
&& (availableTXBytes() <= settings.rtsOnBytes))
306306
updateRTS(true); //We're ready for more data
307307

308308
//Attempt to empty the serialTransmitBuffer

0 commit comments

Comments
 (0)