From 8458c94d6b58e258e861efc7fcb12a1e51bf2b06 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 22 Sep 2018 14:41:33 -0400 Subject: [PATCH] edits to encode_tlm --- cw/cw_main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cw/cw_main.c b/cw/cw_main.c index 25304223..f090920c 100644 --- a/cw/cw_main.c +++ b/cw/cw_main.c @@ -80,7 +80,10 @@ int main(void) int reserved_space = 0; - int msg_length = get_cw(&packet[reserved_space], +// int msg_length = get_cw(&packet[reserved_space], +// (MAX_MESSAGE_LENGTH + 1) - reserved_space); + + int msg_length = encode_tlm(&packet[reserved_space], 1, 12, 34, 56,78, (MAX_MESSAGE_LENGTH + 1) - reserved_space); printf("INFO: Sending another packet...\n");