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");