FM

Dependencies:   SimpleDMA eeprom mbed-rtos mbed FreescaleIAP

Fork of CDMS_CODE by shubham c

Revision:
211:77bee0cbebfe
Parent:
180:ccc21cc163f8
Child:
212:3d13a06bcd3a
--- a/COM_MNG_TMTC.h	Wed May 25 15:28:32 2016 +0000
+++ b/COM_MNG_TMTC.h	Sat Jun 18 09:07:28 2016 +0000
@@ -63,6 +63,7 @@
                 temp8 = tm_ptr->TM_string[TM_ACK_CODE_INDEX];\
                 temp8 = temp8 & 0x0F;\
                 if( temp8 == CRC_FAIL_NACK_CODE ){\
+                    temp_ack = 0x02;
                     tm_ptr->TM_string[2] = tc_psc;\
                 }\
             }\
@@ -1138,6 +1139,11 @@
                                 uint16_t temp16 = TC_STATE_SUCCESSFULLY_EXECUTED;\
                                 PUTexec_status(current_TC, temp16);\
                             }\
+                            else if( temp83 == 0x02){\
+                                /*gPC.puts("TC_STATE_EXECUTION_UNKNOWN");*/\
+                                uint16_t temp16 = TC_STATE_EXECUTION_UNKNOWN;\
+                                PUTexec_status(current_TC, temp16);\
+                            }\
                             else{\
                                 /*gPC.puts("TC_STATE_EXECUTION_FAILED");*/\
                                 uint16_t temp16 = TC_STATE_EXECUTION_FAILED;\