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:
ee12b079
Date:
Sat Jan 09 10:56:08 2016 +0000
Parent:
42:b7a4aac53314
Commit message:
Changed the type1_frame...change this in all versions, ; integrating with MCS

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	Sat Jan 09 10:40:09 2016 +0000
+++ b/COM_SND_TM.h	Sat Jan 09 10:56:08 2016 +0000
@@ -1,7 +1,7 @@
 //void adf_not_SDcard();
  
 #define S_FRAME_SIZE 48
-#define ISR 10
+#define ISR 40
 #define TM_FRAME_SIZE 134           //in bytes
 #define T_FRAME_SIZE 159
 #define EOS_SIZE 120
@@ -165,7 +165,7 @@
                 next_type_structure(T1F_pointer);\
               }\
         }\
-        TMframe_type1[0] = 1<<7 + ( (i-4)/10 )<<3;\
+        TMframe_type1[0] = (1<<7) + (( (i-4)/10 )<<3);\
         TMframe_type1[3] = crc16_gen(TMframe_type1,3);\
         if(T1F_pointer == NULL && i>12){\
             for( ; i < 134 ; i++){\