Update main.c

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

@ -1605,11 +1605,11 @@ void get_tlm_fox() {
} }
if (mode == BPSK) { // wod field experiments if (mode == BPSK) { // wod field experiments
unsigned long val = 0x7ffff70; unsigned long val = 0x7ffff;
printf("WOD: %x %x %x \n", 0xff & val, (0xff00 & val) >> 8, (0xff0000 & val) >> 16); printf("WOD: %x %x %x \n", 0xff & val, (0xff00 & val) >> 8, (0xff0000 & val) >> 16);
encodeA(b, 63 + head_offset, 0xff & val); // encodeA(b, 63 + head_offset, 0xff & val);
encodeA(b, 64 + head_offset, (0xff00 & val) >> 8); encodeA(b, 64 + head_offset, 0xff & val);
encodeA(b, 65 + head_offset, (0xff0000 & val) >> 16); encodeA(b, 65 + head_offset, val >> 8);
// encodeA(b, 64 + head_offset, 0xfff); // was 7f -> fe, ff -> 1fe was 63 // encodeA(b, 64 + head_offset, 0xfff); // was 7f -> fe, ff -> 1fe was 63
// encodeA(b, 63 + head_offset, 0xfff); // 0x80 is 1000 0000 at 65 // encodeA(b, 63 + head_offset, 0xfff); // 0x80 is 1000 0000 at 65
// encodeA(b, 65 + head_offset, 0xfff); // encodeA(b, 65 + head_offset, 0xfff);

Loading…
Cancel
Save

Powered by TurnKey Linux.