diff --git a/application/views/qso/index.php b/application/views/qso/index.php
index 961039fa..c5b75df8 100755
--- a/application/views/qso/index.php
+++ b/application/views/qso/index.php
@@ -522,6 +522,7 @@
+
diff --git a/assets/js/winkey.js b/assets/js/winkey.js
index e5949bed..1e289dc8 100644
--- a/assets/js/winkey.js
+++ b/assets/js/winkey.js
@@ -9,6 +9,7 @@ connectButton.addEventListener("click", clickConnect)
sendButton.addEventListener("click", clickSend)
helpButton.addEventListener("click", clickHelp)
statusButton.addEventListener("click", clickStatus)
+cwfunc1Button.addEventListener("click", morsekey_func1)
//When the connectButton is pressed
async function clickConnect() {
@@ -114,6 +115,15 @@ function clickSend() {
}
+function morsekey_func1() {
+ writeToStream("CQ CQ 2M0SQL");
+
+ //and clear the input field, so it's clear it has been sent
+ sendText.value = "";
+
+}
+
+
//Read the incoming data
async function readLoop() {
while (true) {