Update cubesatsim.ino

pull/161/head
alanbjohnston 4 years ago committed by GitHub
parent 7ec39dd720
commit 32799868d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.