switching max and min

pull/114/head
alanbjohnston 5 years ago committed by GitHub
parent ccc5955c2f
commit c33b24b1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.