Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: CDMS_HK.h
- Revision:
- 270:9dacc1d8459a
- Parent:
- 269:24c50959b0a4
- Child:
- 276:9e5b0085763d
diff -r 24c50959b0a4 -r 9dacc1d8459a CDMS_HK.h --- a/CDMS_HK.h Thu Jul 21 10:46:36 2016 +0000 +++ b/CDMS_HK.h Thu Jul 21 11:07:04 2016 +0000 @@ -45,8 +45,9 @@ gHK_THREAD->signal_wait(HK_SIGNAL); gPC.printf("\n\nEntering HK thread\n"); + if(EN_HK == 0x00) + continue; gMutex.lock(); - CDMS_HK_MAIN_STATUS = 0x01; CDMS_HK_MAIN_COUNTER++;