To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: Compression.h
- Revision:
- 277:a2f1d544ab8b
- Parent:
- 271:72529b247333
--- a/Compression.h Thu Jul 21 13:18:02 2016 +0000 +++ b/Compression.h Sun Jul 24 12:15:03 2016 +0000 @@ -449,11 +449,11 @@ frames[id][133] = temp_crc & 0xff; #if srpz - gPC.printf("\n\rPrinting SFP_TM\n\r{"); + /*gPC.printf("\n\rPrinting SFP_TM\n\r{"); for(uint8_t z=0;z<134;z++){ gPC.printf("0x%02X,",frames[id][z]); } - gPC.printf("}\n\r"); + gPC.printf("}\n\r");*/ #endif /*------------------current TM frame completely filled-----------------------*/ @@ -511,11 +511,11 @@ frames[id][132] = temp_crc>>8; frames[id][133] = temp_crc & 0xff; - gPC.printf("\n\rPrinting SFP_TM\n\r{"); + /*gPC.printf("\n\rPrinting SFP_TM\n\r{"); for(uint8_t z=0;z<134;z++){ gPC.printf("0x%02X,",frames[id][z]); } - gPC.printf("}\n\r"); + gPC.printf("}\n\r");*/ } #endif at = 0; pzf = 1; ezf = 1; @@ -1132,11 +1132,11 @@ frames[id][133] = temp_crc & 0xff; #if scpz //gPC.printf("\n\rFirst head pointer contents: 0x%02X",frames[id][frames[id][4]]); - gPC.printf("\n\rPrinting SCP_TM\n\r{"); + /*gPC.printf("\n\rPrinting SCP_TM\n\r{"); for(uint8_t z=0;z<134;z++){ gPC.printf("0x%02X,",frames[id][z]); } - gPC.printf("}\n\r"); + gPC.printf("}\n\r");*/ #endif exor(frames[id]); convolution(frames[id]); @@ -1186,11 +1186,11 @@ frames[id][133] = temp_crc & 0xff; - gPC.printf("\n\rPrinting SCP_TM\n\r{"); + /*gPC.printf("\n\rPrinting SCP_TM\n\r{"); for(uint8_t z=0;z<134;z++){ gPC.printf("0x%02X,",frames[id][z]); } - gPC.printf("}\n\r"); + gPC.printf("}\n\r");*/ } #endif } \ No newline at end of file