To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: CDMS_HK.h
- Revision:
- 105:5ce0337e7c15
- Parent:
- 104:a50ae79ca36e
- Child:
- 187:2c7263530c57
- Child:
- 210:f4acf895b598
- Child:
- 221:2efc13ccbe4c
--- a/CDMS_HK.h Fri Jan 29 17:50:20 2016 +0000 +++ b/CDMS_HK.h Fri Jan 29 19:27:28 2016 +0000 @@ -25,8 +25,8 @@ hk_cdms.printf(" \r\nCDMS HK entered Verify COM RX RSSI >0.4 \r\n"); int HK_I2C; - char BAE_HK[73]; - FCTN_I2C_READ(BAE_HK,73); + char BAE_HK[74]; + FCTN_I2C_READ(BAE_HK,74); printf("BAE_HK=%s",BAE_HK); /*if(HK_I2C==0) { @@ -78,10 +78,10 @@ { printf("%d",data[i]); } - uint8_t fsc=FCTN_SD_MNGR(0x3); - printf("FSC where SD is written is %d\r\n",fsc); - int a=SD_WRITE(data,0x00000012,0x3); - printf("Result of writing is %d \r\n",a); + //uint8_t fsc=FCTN_SD_MNGR(0x3); + //printf("FSC where SD is written is %d\r\n",fsc); + //int a=SD_WRITE(data,0x00000012,0x3); + //printf("Result of writing is %d \r\n",a); //BCN long frame ??? //CDMS_HK_STATUS=(CDMS_HK_STATUS)&(~(HK_MAIN_STATUS)); hk_cdms.printf("CDMS executed succesfully\r\n");