Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: CDMS_HK.h
- Revision:
- 271:72529b247333
- Parent:
- 268:ded5306a1fd1
- Child:
- 279:9501ee30957d
- Child:
- 289:9bd62b69874c
diff -r ded5306a1fd1 -r 72529b247333 CDMS_HK.h --- a/CDMS_HK.h Wed Jul 20 09:58:59 2016 +0000 +++ b/CDMS_HK.h Thu Jul 21 13:18:02 2016 +0000 @@ -104,12 +104,12 @@ gPC.puts("sd write failure"); break; } - gPC.printf("Completed CDMS HK\t"); + /*gPC.printf("Completed CDMS HK\t")*/; /*---------------------------------- BAE HK --------------------------------------------*/ BAE_HK_I2C = FCTN_I2C_READ(BAE_HK,134); - gPC.printf("Entering BAE HK\t"); + /*gPC.printf("Entering BAE HK\t")*/; if(BAE_HK_I2C == 0) { crc = crc16_gen((unsigned char *)BAE_HK,132); if(crc == ((uint16_t)BAE_HK[132] << 8) | (uint16_t)BAE_HK[133]){ @@ -143,11 +143,11 @@ } } else { - gPC.printf("BAE HK data not recieved through I2C\t"); + /*gPC.printf("BAE HK data not recieved through I2C\t")*/; for(int i = 0; i<134; i++) BAE_HK[i] = 0; } - gPC.printf("Completed BAE HK\n"); + /*gPC.printf("Completed BAE HK\n")*/; /*----------------------------------Beacon message--------------------------------------*/ unsigned char SC_HK_LBM_0[135]; @@ -161,10 +161,10 @@ bool y; y = FCTN_I2C_WRITE((char *)SC_HK_LBM_0,135); if(y == 0) - gPC.printf("long Bcn sent\n\r"); + /*gPC.printf("long Bcn sent\n\r")*/; else gPC.printf("long Bcn not sent\r\n"); - gPC.printf("\rCompleted Beacon\n"); + gPC.printf("\rCompleted HK\n"); gMutex.unlock(); } }