FM
Dependencies: SimpleDMA eeprom mbed-rtos mbed FreescaleIAP
Fork of CDMS_CODE by
Diff: Compression.h
- Revision:
- 332:7d2431ce979f
- Parent:
- 331:1943be3fd178
- Child:
- 340:d05e7b4b6690
- Child:
- 342:77b0d59897f7
diff -r 1943be3fd178 -r 7d2431ce979f Compression.h --- a/Compression.h Thu Dec 22 12:55:32 2016 +0000 +++ b/Compression.h Wed Dec 28 04:25:18 2016 +0000 @@ -1632,9 +1632,9 @@ //gPC.printf("%02X ",compress(sfp_bin[i],8,2)); } } - //pzf==1) + //if(pzf==1) //gPC.printf("\n\rAll proton bins empty"); - ezf == 0){ + if(ezf == 0){ //cout<<"electron bins "; #if srpz gPC.printf("\n\rElectron bins present in SRP"); @@ -1645,15 +1645,15 @@ //gPC.printf("%02X ",compress(sfp_bin[i],8,2)); } } - //ezf==1) + //if(ezf==1) //gPC.printf("\n\rAll electron bins empty"); } //above threshold ends here. - at == 0) + if(at == 0) { id = 1; length = 241; - pzf == 0) + if(pzf == 0) length += 87; - ezf == 0) + if(ezf == 0) length += 35; } else