To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: CDMS_HK.h
- Revision:
- 238:4abbc6a3a641
- Parent:
- 235:c127b15409b2
--- a/CDMS_HK.h Thu Jul 07 16:45:05 2016 +0000 +++ b/CDMS_HK.h Thu Jul 07 17:13:00 2016 +0000 @@ -25,7 +25,10 @@ void FCTN_CDMS_HK_MAIN(void const *args) { + while(1) + { gPC.printf("Entering HK thread"); + gHK_THREAD->signal_wait(HK_SIGNAL); unsigned char CDMS_HK_FRAME[134] = {0}; char BAE_HK[134] = {0}; uint8_t convoluted_CDMS_HK[270]; @@ -143,6 +146,7 @@ SC_HK_LBM_0[133] = crc >> 8; FCTN_I2C_WRITE((char *)SC_HK_LBM_0,135); gPC.printf("\rCompleted Beacon\n"); + } } int quantiz(float start,float step,float x)