From 60777178a84273b2f1cb1fa03797b5659cb66d29 Mon Sep 17 00:00:00 2001 From: phdlee Date: Sat, 3 Feb 2018 17:07:11 +0900 Subject: [PATCH] TX Check in auto keysend --- ubitx_20/cw_autokey.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ubitx_20/cw_autokey.ino b/ubitx_20/cw_autokey.ino index 8c9103e..c9dba8b 100644 --- a/ubitx_20/cw_autokey.ino +++ b/ubitx_20/cw_autokey.ino @@ -365,6 +365,11 @@ void controlAutoCW(){ //check interval time, if you want adjust interval between chars, modify below if (isAutoCWHold == 0 && (millis() - autoCWbeforeTime > cwSpeed * 3)) { + if (!inTx){ //if not TX Status, change RX -> TX + keyDown = 0; + startTx(TX_CW, 0); //disable updateDisplay Command for reduce latency time + } + sendCWChar(EEPROM.read(CW_AUTO_DATA + autoCWSendCharIndex++)); if (autoCWSendCharIndex > autoCWSendCharEndIndex) { //finish auto cw send