Update main.c

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

@ -1605,12 +1605,12 @@ void get_tlm_fox() {
}
if (mode == BPSK) { // wod field experiments
unsigned long val = 0x7fff;
unsigned long val = 0xffff;
printf("WOD: %x %x %x \n", 0xff & val, (0xff00 & val) >> 8, (0xff0000 & val) >> 16);
// encodeA(b, 63 + head_offset, 0xff & val);
encodeA(b, 64 + head_offset, 0xff & val);
encodeA(b, 65 + head_offset, val >> 8);
encodeA(b, 63 + head_offset, 0xff);
encodeA(b, 63 + head_offset, 0x01);
// 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, 65 + head_offset, 0xfff);

Loading…
Cancel
Save

Powered by TurnKey Linux.