![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Dummy program to demonstrate problems: working code
Dependencies: SLCD mbed-rtos mbed
Fork of MNG_TC by
Diff: MNG_TC.h
- Revision:
- 11:109f16cc35d7
- Parent:
- 8:cb93c1d3209a
--- a/MNG_TC.h Thu Jul 16 14:14:41 2015 +0000 +++ b/MNG_TC.h Fri Jul 17 07:31:49 2015 +0000 @@ -46,6 +46,8 @@ // TMID list #define TMID_ACK_L1 10 +#define TM_SHORT_SIZE 13 +#define TM_TYPE1_SIZE 134 namespace MNG_TC { @@ -299,7 +301,8 @@ tm_ptr = EXECUTION::CDMS_RLY_TMTC(tc_ptr); // SEND DATA TO GS -// SND_TM(tm_ptr); +// snd_tm.head_pointer(tm_tr); + // for rolling buffer : // send EoS only if TM to next tc has not arrived yet // else put the next TM itself. @@ -430,7 +433,7 @@ // APPEND CRC TO THE TM L1_ACK::execode_crc(all_crc_pass, l1_ack); -// SND_TM(l1_ack); +// snd_tm.head_pointer(l1_ack); // delete the TM l1_ack = l1_ack_head; @@ -535,7 +538,7 @@ while( tcp != NULL ){ if( EXECUTION::obosc_tc(tcp) ){ TM_list *tm_ptr = EXECUTION::execute_obosc(tcp); -// SND_TM(tm_ptr); +// snd_tm.head_pointer(tm_tr); if( EXECUTION::detect_ack(tm_ptr) ){ tcp->exec_status = 1; }