Repository for CDMS code

Dependencies:   SimpleDMA mbed-rtos mbed eeprom

Fork of COM_MNG_TMTC_SIMPLE by Shreesha S

Files at this revision

API Documentation at this revision

Comitter:
chaithanyarss
Date:
Mon Jul 04 14:48:16 2016 +0000
Parent:
224:3ac1f91e0ebc
Child:
226:a37ba29a7ae9
Child:
228:335da5b0d3e4
Commit message:
Testing BAE TCs

Changed in this revision

CDMS_PL.h Show annotated file Show diff for this revision Revisions of this file
--- a/CDMS_PL.h	Mon Jul 04 14:31:30 2016 +0000
+++ b/CDMS_PL.h	Mon Jul 04 14:48:16 2016 +0000
@@ -77,6 +77,8 @@
     pl_tc_standby->TC_string[10] = (uint8_t)(crc16 & 0x00FF);\
     tm_ptr_standby =  FCTN_CDMS_RLY_TMTC(pl_tc_standby);\
     VERIFY_TM(tm_ptr_standby);\
+    delete pl_tc_standby;\
+    delete tm_ptr_standby;\
 }
 
 //TC_string[0] should not be 0x00
@@ -101,6 +103,8 @@
     pl_tc_hibernate->TC_string[10] = (uint8_t)(crc16 & 0x00FF);\
     tm_ptr_hibernate =  FCTN_CDMS_RLY_TMTC(pl_tc_hibernate);\
     VERIFY_TM(tm_ptr_hibernate);\
+    delete pl_tc_hibernate;\
+    delete tm_ptr_hibernate;\
 }
 
 //TC_string[0] should not be 0x00
@@ -126,6 +130,8 @@
     pl_tc_science->TC_string[10] = (uint8_t)(crc16 & 0x00FF);\
     tm_ptr_science =  FCTN_CDMS_RLY_TMTC(pl_tc_science);\
     VERIFY_TM(tm_ptr_science);\
+    delete pl_tc_science;\
+    delete tm_ptr_science;\
 }
 void print_processed_block(uint8_t index)
 {