Skip to content

Commit 054405c

Browse files
authored
Merge pull request #560 from LeeLeahy2/rts-on
Enable updates to settings.rtsOnBytes to enable RTS
2 parents d34d78b + 4172446 commit 054405c

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)