Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Revision 225:e6a3ffe4a530, committed 2016-07-04
- 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)
{
