From 32799868d9528eb1be5539ecab011475d80bd090 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 10 Jul 2022 08:22:40 -0400 Subject: [PATCH] Update cubesatsim.ino --- cubesatsim/cubesatsim.ino | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 7a15b8e7..2355301c 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -886,11 +886,11 @@ void get_tlm_fox() { } else { if (data == 0) { phase *= -1; - if ((ctr - smaller) > 0) { - for (int j = 1; j <= smaller; j++) - buffer[ctr - j] = buffer[ctr - j] * 0.4; - } - flip_ctr = ctr; +// if ((ctr - smaller) > 0) { +// for (int j = 1; j <= smaller; j++) +// buffer[ctr - j] = buffer[ctr - j] * 0.4; + // } +// flip_ctr = ctr; } } } @@ -918,11 +918,11 @@ void get_tlm_fox() { } else { if (data == 0) { phase *= -1; - if ((ctr - smaller) > 0) { - for (int j = 1; j <= smaller; j++) - buffer[ctr - j] = buffer[ctr - j] * 0.4; - } - flip_ctr = ctr; +// if ((ctr - smaller) > 0) { +// for (int j = 1; j <= smaller; j++) +// buffer[ctr - j] = buffer[ctr - j] * 0.4; +// } +// flip_ctr = ctr; } } // Serial.println("AA");