|
|
|
@ -1583,8 +1583,9 @@ void get_tlm_fox() {
|
|
|
|
printf("TX Antenna Deployed!\n");
|
|
|
|
printf("TX Antenna Deployed!\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (mode == BPSK) { // WOD field experiments
|
|
|
|
if (mode == BPSK) { // wod field experiments
|
|
|
|
encodeA(b, 64 + head_offset, 0x7f); // was ff -> 1fe was 63
|
|
|
|
encodeA(b, 64 + head_offset, 0x7f); // was 7f -> fe, ff -> 1fe was 63
|
|
|
|
|
|
|
|
encodeA(b, 65 + head_offset, 0xff);
|
|
|
|
encodeB(b, 74 + head_offset, 0xa5); // was ff
|
|
|
|
encodeB(b, 74 + head_offset, 0xa5); // was ff
|
|
|
|
}
|
|
|
|
}
|
|
|
|
short int data10[headerLen + rsFrames * (rsFrameLen + parityLen)];
|
|
|
|
short int data10[headerLen + rsFrames * (rsFrameLen + parityLen)];
|
|
|
|
@ -1608,12 +1609,12 @@ void get_tlm_fox() {
|
|
|
|
rs_frame[j][i] = b[ctr3 % dataLen];
|
|
|
|
rs_frame[j][i] = b[ctr3 % dataLen];
|
|
|
|
update_rs(parities[j], b[ctr3 % dataLen]);
|
|
|
|
update_rs(parities[j], b[ctr3 % dataLen]);
|
|
|
|
} else // BPSK
|
|
|
|
} else // BPSK
|
|
|
|
if ((int)(ctr3/dataLen) == 3)
|
|
|
|
if ((int)(ctr3/dataLen) == 4) // was 3
|
|
|
|
{
|
|
|
|
{
|
|
|
|
rs_frame[j][i] = b_max[ctr3 % dataLen];
|
|
|
|
rs_frame[j][i] = b_max[ctr3 % dataLen];
|
|
|
|
update_rs(parities[j], b_max[ctr3 % dataLen]);
|
|
|
|
update_rs(parities[j], b_max[ctr3 % dataLen]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if ((int)(ctr3/dataLen) == 4)
|
|
|
|
else if ((int)(ctr3/dataLen) == 3) // was 4
|
|
|
|
{
|
|
|
|
{
|
|
|
|
rs_frame[j][i] = b_min[ctr3 % dataLen];
|
|
|
|
rs_frame[j][i] = b_min[ctr3 % dataLen];
|
|
|
|
update_rs(parities[j], b_min[ctr3 % dataLen]);
|
|
|
|
update_rs(parities[j], b_min[ctr3 % dataLen]);
|
|
|
|
|