![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
CDMS_CODE_samp_23SEP_DMA_flag
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA by
Diff: COM_POWER_ON_TX.h
- Revision:
- 211:77bee0cbebfe
- Parent:
- 169:451b54864992
- Child:
- 212:3d13a06bcd3a
diff -r ccc21cc163f8 -r 77bee0cbebfe COM_POWER_ON_TX.h --- a/COM_POWER_ON_TX.h Wed May 25 15:28:32 2016 +0000 +++ b/COM_POWER_ON_TX.h Sat Jun 18 09:07:28 2016 +0000 @@ -17,6 +17,7 @@ beacon_tc->TC_string[9] = (crc16 & 0xFF00)>>8;\ beacon_tc->TC_string[10] = (crc16 & 0x00FF);\ tm_ptr = FCTN_CDMS_RLY_TMTC(beacon_tc);\ + delete beacon_tc;\ } #define reset_bae {\ @@ -39,6 +40,7 @@ reset_BAE->TC_string[10] = (crc16 & 0x00FF);\ Base_tm *tm_ptr = new Short_tm;\ tm_ptr = FCTN_CDMS_RLY_TMTC(reset_BAE);\ + delete reset_BAE;\ /*DELETE THE TM AFTER USE*/\ Base_tm *del_tm = tm_ptr;\ int overCount = 0;\ @@ -76,6 +78,7 @@ power_off_BAE->TC_string[10] = (crc16 & 0x00FF);\ Base_tm *tm_ptr = new Short_tm;\ tm_ptr = FCTN_CDMS_RLY_TMTC(power_off_BAE);\ + delete power_off_BAE;\ /*DELETE THE TM AFTER USE*/\ Base_tm *del_tm = tm_ptr;\ int overCount = 0;\ @@ -113,6 +116,7 @@ hk_main_ptr->TC_string[10] = (crc16 & 0x00FF);\ Base_tm *tm_ptr = new Short_tm;\ tm_ptr = FCTN_CDMS_RLY_TMTC(hk_main_ptr);\ + delete hk_main_ptr;\ /*DELETE THE TM AFTER USE*/\ Base_tm *del_tm = tm_ptr;\ int overCount = 0;\ @@ -149,6 +153,7 @@ bcn_tx_main_ptr->TC_string[9] = (crc16 & 0xFF00)>>8;\ bcn_tx_main_ptr->TC_string[10] = (crc16 & 0x00FF);\ tm_ptr = FCTN_CDMS_RLY_TMTC(bcn_tx_main_ptr);\ + delete bcn_tx_main_ptr;\ } void COM_POWER_ON_TX() {