pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
45:4c10559cd886
Parent:
44:b9b067d0559f
Child:
51:da85d84768e2
--- a/COM_MNG_TMTC.h	Sat Jan 09 13:59:01 2016 +0000
+++ b/COM_MNG_TMTC.h	Sat Jan 09 14:32:17 2016 +0000
@@ -560,6 +560,8 @@
                             get_call_sign(obosc_tm_head);\
                             Base_tm *obosc_tm_core = NULL;\
                             execute_obosc_core(current_TC, obosc_tm_core);\
+                            uint16_t temp16 = TC_STATE_SUCCESSFULLY_EXECUTED;\
+                            PUTexec_status(current_TC, temp16);\
                             Base_tm *obosc_tm_current = obosc_tm_head;\
                             get_ack_l1(obosc_tm_current->next_TM);\
                             int overflowCountOBONLY = 0;\
@@ -605,8 +607,6 @@
                                     break;\
                                 }\
                             }\
-                            uint16_t temp16 = TC_STATE_SUCCESSFULLY_EXECUTED;\
-                            PUTexec_status(current_TC, temp16);\
                         }\
                     }\
                 }\