Update cubesatsim.ino

pull/152/head
alanbjohnston 4 years ago committed by GitHub
parent 9e808d3220
commit c9a0597f8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -511,8 +511,8 @@ void get_tlm_fox() {
for (i = 0; i < parityLen; i++) { for (i = 0; i < parityLen; i++) {
for (int j = 0; j < rsFrames; j++) { for (int j = 0; j < rsFrames; j++) {
if ((uptime != 0) || (i != 0)) // don't correctly update parties if uptime is 0 so the frame will fail the FEC check and be discarded if ((uptime != 0) || (i != 0)) // don't correctly update parties if uptime is 0 so the frame will fail the FEC check and be discarded
/// data10[ctr2++] = (Encode_8b10b[rd][((int) parities[j][i])] & 0x3ff); data10[ctr2++] = (Encode_8b10b[rd][((int) parities[j][i])] & 0x3ff);
/// nrd = (Encode_8b10b[rd][((int) parities[j][i])] >> 10) & 1; nrd = (Encode_8b10b[rd][((int) parities[j][i])] >> 10) & 1;
// printf ("data10[%d] = encoded parities[%d][%d] = %x \n", // printf ("data10[%d] = encoded parities[%d][%d] = %x \n",
// ctr2 - 1, j, i, data10[ctr2 - 1]); // ctr2 - 1, j, i, data10[ctr2 - 1]);

Loading…
Cancel
Save

Powered by TurnKey Linux.