moved data8 and other variables

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent bfa703a12c
commit e4dcb26a00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -264,10 +264,6 @@ int main(int argc, char *argv[]) {
samples = S_RATE/bitRate; samples = S_RATE/bitRate;
bufLen = (frameCnt * (syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))) * samples); bufLen = (frameCnt * (syncBits + 10 * (headerLen + rsFrames * (rsFrameLen + parityLen))) * samples);
short int buffer[bufLen];
short int data10[headerLen + rsFrames * (rsFrameLen + parityLen)];
short int data8[headerLen + rsFrames * (rsFrameLen + parityLen)];
if (argc > 1) { if (argc > 1) {
strcpy(src_addr, argv[1]); strcpy(src_addr, argv[1]);
} }
@ -640,6 +636,10 @@ int get_tlm_fox() {
encodeA(b, 3 + head_offset, batt_c_v); encodeA(b, 3 + head_offset, batt_c_v);
encodeA(b, 9 + head_offset, battCurr); encodeA(b, 9 + head_offset, battCurr);
*/ */
short int buffer[bufLen];
short int data10[headerLen + rsFrames * (rsFrameLen + parityLen)];
short int data8[headerLen + rsFrames * (rsFrameLen + parityLen)];
int ctr1 = 0; int ctr1 = 0;
int ctr3 = 0; int ctr3 = 0;
// for (i = 0; i < RS_FRAME_LEN; i++) // for (i = 0; i < RS_FRAME_LEN; i++)

Loading…
Cancel
Save

Powered by TurnKey Linux.