11th feb i2c checking chaitu's code
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: Compression.h
- Revision:
- 295:699801854b71
- Parent:
- 290:3159ff1081a2
- Child:
- 299:7c89a1e62458
- Child:
- 305:beb148fe97dc
--- a/Compression.h Fri Aug 26 16:08:38 2016 +0000 +++ b/Compression.h Sun Aug 28 13:53:42 2016 +0000 @@ -20,7 +20,7 @@ #define srpz_last 0 #define debug_fsc 0 #define debug_time 0 -#define debug_dma 0 +#define debug_dma 1 #if debug_dma uint16_t read_2byte(uint8_t* ptr) @@ -132,7 +132,7 @@ void srp(uint8_t * head) { uint8_t sd_stat = 0; - gPC.printf("\n\rEntered SRP function"); + gPC.printf("\n\rsrp"); debug_cntr = 0; sci_time = FCTN_CDMS_RD_RTC(); #if debug_time @@ -1270,5 +1270,6 @@ position_tm_frame[id] = position_tm_starting[id]; } #endif - gPC.printf("\n\rExiting SRP"); + gPC.printf("fsc = %d, %d,%d\n\r", FSC_CURRENT[1],FSC_CURRENT[2],FSC_CURRENT[3]); + gPC.printf("\n\rEndSRP"); } \ No newline at end of file