From 8a658b6dbd2428dd8dbbd92e6617969fc70c5d7e Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 17 Sep 2022 19:32:47 -0400 Subject: [PATCH] set ctr = 0 in FoxTelem --- cubesatsim/cubesatsim.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 6ed6b304..9fc94b5e 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -867,10 +867,12 @@ void get_tlm_fox() { int posXv = 0, negXv = 0, posYv = 0, negYv = 0, posZv = 0, negZv = 0; int posXi = 0, negXi = 0, posYi = 0, negYi = 0, posZi = 0, negZi = 0; int head_offset = 0; - short int buffer_test[bufLen]; + //short int buffer_test[bufLen]; int buffSize; buffSize = (int) sizeof(buffer_test); + ctr = 0; + parse_payload(); // for (int n = 0; n < 17; n++)