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:
rohit3342
Date:
Thu Dec 31 10:47:42 2015 +0000
Parent:
10:414fde3ef107
Child:
13:615e842073dd
Commit message:
RESOLVED MAX_SEGMENT ERROR IN SND_TM

Changed in this revision

COM_SND_TM.h Show annotated file Show diff for this revision Revisions of this file
--- a/COM_SND_TM.h	Thu Dec 31 10:27:56 2015 +0000
+++ b/COM_SND_TM.h	Thu Dec 31 10:47:42 2015 +0000
@@ -326,7 +326,7 @@
  
         bool reset_adf;
         SND_TM(){
-            MAX_SEGMENTMAX_SEGMENT = (MAX_ADF_LEN-EOS_SIZE)/( S_FRAME_SIZE + ISR*T_FRAME_SIZE);
+            MAX_SEGMENT = (MAX_ADF_LEN-EOS_SIZE)/( S_FRAME_SIZE + ISR*T_FRAME_SIZE);
             //MAX_SEGMENT = 1;
                             //(max length - eos size)/(sframe length + tFrameLength*ISR)
 //            cout<<int(MAX_SEGMENT)<<endl;