From 45595d2f9e98faefa60f6fce5e47d0a013c24565 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 7 Aug 2022 09:46:11 -0400 Subject: [PATCH] don't send hi hi first in CW, don't send payload --- cubesatsim/cubesatsim.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 89cf06eb..35ea322d 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -281,7 +281,7 @@ void send_packet() { } void send_cw() { - char de[] = " HI HI DE "; + char de[] = " DE "; char telem[1000]; char space[] = " "; @@ -290,9 +290,7 @@ void send_cw() { strcpy(telem, de); strcat(telem, callsign); strcat(telem, space); - strcat(telem, tlm_str); - strcat(telem, space); - strcat(telem, payload_str); + strcat(telem, tlm_str); // don't send payload since it isn't encoded and has "." print_string(telem); Serial.println(strlen(telem));