changed antenna failure to antenna deploy

pull/65/head
alanbjohnston 5 years ago committed by GitHub
parent 01f8be893d
commit be0ad9844b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -875,7 +875,7 @@ int get_tlm_fox() {
short int rs_frame[rsFrames][223];
unsigned char parities[rsFrames][parityLen], inputByte;
int id, frm_type = 0x01, TxTemp = 0, IHUcpuTemp = 0, STEMBoardFailure = 1, NormalModeFailure = 1, rxAntennaFailure = 1, txAntennaFailure = 0, groundCommandCount = 1; //
int id, frm_type = 0x01, TxTemp = 0, IHUcpuTemp = 0, STEMBoardFailure = 1, NormalModeFailure = 0, rxAntennaDeployed = 0, txAntennaDeployed = 1, groundCommandCount = 3; //
int PSUVoltage = 0, PSUCurrent = 0;
int batt_a_v = 0, batt_b_v = 0, batt_c_v = 0, battCurr = 0;
int posXv = 0, negXv = 0, posYv = 0, negYv = 0, posZv = 0, negZv = 0;
@ -1180,7 +1180,7 @@ if (payload == ON)
encodeB(b, 49 + head_offset, sensor3);
encodeA(b, 51 + head_offset, STEMBoardFailure + NormalModeFailure * 2 + groundCommandCount * 256);
encodeB(b, 52 + head_offset, rxAntennaFailure + txAntennaFailure* 2);
encodeB(b, 52 + head_offset, rxAntennaDeployed + txAntennaDeployed* 2);
short int data10[headerLen + rsFrames * (rsFrameLen + parityLen)];
short int data8[headerLen + rsFrames * (rsFrameLen + parityLen)];

Loading…
Cancel
Save

Powered by TurnKey Linux.