fixed BPSK fox id of 99 in h[6]

pull/28/head
alanbjohnston 7 years ago committed by GitHub
parent 5e7627c992
commit 0233994ba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -573,7 +573,7 @@ int get_tlm_fox() {
if (mode == FSK)
id = 7;
else
id = 99;
id = 0; // 99 in h[6]
// for (int frames = 0; frames < FRAME_CNT; frames++)
for (int frames = 0; frames < frameCnt; frames++)
@ -641,6 +641,9 @@ int get_tlm_fox() {
h[5] = (h[5] & 0xf0) | ((uptime >> 21) & 0x0f);
h[5] = (h[5] & 0x0f) | (frm_type << 4);
if (mode == BPSK)
h[6] = 99;
posXv = reading[PLUS_X].current * 10;
posYv = reading[PLUS_Y].current * 10;
posZv = reading[PLUS_Z].current * 10;

Loading…
Cancel
Save

Powered by TurnKey Linux.