Compression code changed and RLY_TMTC pointers managed

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
chaithanyarss
Date:
Tue Jul 12 17:54:30 2016 +0000
Parent:
259:066a7abd2a5f
Child:
261:1e54415b34d3
Commit message:
added shubham's change

Changed in this revision

CDMS_HK.h Show annotated file Show diff for this revision Revisions of this file
COM_MNG_TMTC.h Show annotated file Show diff for this revision Revisions of this file
--- a/CDMS_HK.h	Tue Jul 12 17:30:04 2016 +0000
+++ b/CDMS_HK.h	Tue Jul 12 17:54:30 2016 +0000
@@ -301,8 +301,9 @@
 
 void VERIFY_RTC()
 {
-
     if(RTC_STATUS == 0x00) {
+        if(RTC_FAULTCOUNT == 3)
+        return;
         SPI_mutex.lock();
         gCS_RTC=1;
         gCS_RTC=0;
--- a/COM_MNG_TMTC.h	Tue Jul 12 17:30:04 2016 +0000
+++ b/COM_MNG_TMTC.h	Tue Jul 12 17:54:30 2016 +0000
@@ -1549,7 +1549,7 @@
             gPC.printf("completed or session timed out: %x\r\n", gMASTER_STATE);\
         /*COMPLETED EXECUTION OF TC*/\
         gMASTER_STATE = TCL_STATE_COMPLETED;\
-        /*COM_POWER_OFF_TX;*/\
+        COM_POWER_OFF_TX;\
         reset_all;\
         /*PENDING : ENABLE THREADS*/\
         gPAY_SPI->bulkRead_resume(&payload_isr_fun);\