changed to unsigned int

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

@ -1605,7 +1605,7 @@ void get_tlm_fox() {
} }
if (mode == BPSK) { // wod field experiments if (mode == BPSK) { // wod field experiments
long val = 31234; unsigned long val = 31234;
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, (0xff00 & val) >> 8);
encodeA(b, 65 + head_offset, (0xff0000 & val) >> 16); encodeA(b, 65 + head_offset, (0xff0000 & val) >> 16);

Loading…
Cancel
Save

Powered by TurnKey Linux.