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 16 13:40:14 2016 +0000
Parent:
62:959927f89eba
Child:
64:e4baf8797f41
Child:
65:26902a48c4e2
Commit message:
crc in snd_tm corected from 16 to 8, delay is increased

Changed in this revision

COM_SND_TM.h Show annotated file Show diff for this revision Revisions of this file
ThreadsAndFunctions.h Show annotated file Show diff for this revision Revisions of this file
--- a/COM_SND_TM.h	Fri Jan 15 15:47:01 2016 +0000
+++ b/COM_SND_TM.h	Sat Jan 16 13:40:14 2016 +0000
@@ -170,7 +170,7 @@
               }\
         }\
         TMframe_type1[0] = (1<<7) + (( (i-4)/13 )<<3);\
-        TMframe_type1[3] = crc16_gen(TMframe_type1,3);\
+        TMframe_type1[3] = crc8_gen(TMframe_type1,3);\
         if(T1F_pointer == NULL && i>12){\
             for( ; i < 134 ; i++){\
                 TMframe_type1[i] = TMframe_type1[i-13];\
--- a/ThreadsAndFunctions.h	Fri Jan 15 15:47:01 2016 +0000
+++ b/ThreadsAndFunctions.h	Sat Jan 16 13:40:14 2016 +0000
@@ -103,7 +103,7 @@
         }
         else if( gFLAGS & NEW_TC_RECEIVED ){
             /*gPC.puts("NEW TC RECEIVED\r\n");*/
-            Thread::wait(7000);
+            Thread::wait(10000);
             gFLAGS = gFLAGS & (~NEW_TC_RECEIVED);
             gFLAGS = gFLAGS | COM_MNG_TMTC_RUNNING_FLAG;