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:
Fri Feb 26 13:29:33 2016 +0000
Parent:
126:b7c024b5632d
Child:
129:47ed605a459d
Child:
130:d5b53088270b
Commit message:
Working with 'Bypass_rx1m_get_from_mbed' case aps .

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
adf.h Show annotated file Show diff for this revision Revisions of this file
--- a/COM_SND_TM.h	Wed Feb 10 17:01:26 2016 +0000
+++ b/COM_SND_TM.h	Fri Feb 26 13:29:33 2016 +0000
@@ -266,8 +266,6 @@
         DS_state = !DS_state;\
         if (DS_f){\
             DS_f = false;\
-            if(bypass_adf == 1)\
-                print_tm(ptr);\
             exor(ptr);\
             convolution(ptr);\
             interleave(convoluted_frame,interleave_data[0]);\
--- a/ThreadsAndFunctions.h	Wed Feb 10 17:01:26 2016 +0000
+++ b/ThreadsAndFunctions.h	Fri Feb 26 13:29:33 2016 +0000
@@ -106,7 +106,7 @@
             gPC.puts("NEW TC RECEIVED\r\n");
             #endif
 //            DEBUF_PRINT("NEW TC RECEIVED\r\n");
-            Thread::wait(10000);    /*To be removed in flight model*/
+            Thread::wait(2000);    /*To be removed in flight model*/
             gFLAGS = gFLAGS & (~NEW_TC_RECEIVED);
             gFLAGS = gFLAGS | COM_MNG_TMTC_RUNNING_FLAG;
 
--- a/adf.h	Wed Feb 10 17:01:26 2016 +0000
+++ b/adf.h	Fri Feb 26 13:29:33 2016 +0000
@@ -215,7 +215,8 @@
         spi.write(0x20);\
         for(unsigned char i=0; i<112;i++){\
             spi.write(buffer_112[i]);\
-            /*gPC.printf("0x%X,",spi.write(buffer_112[i]));*/\
+            if(bypass_adf == 1)\
+            gPC.putc(buffer_112[i]);\
         }\
     }\
     else{\
@@ -223,7 +224,8 @@
         spi.write(0x90);\
         for(unsigned char i=0; i<112;i++){\
             spi.write(buffer_112[i]);\
-            /*gPC.printf("0x%X,",spi.write(buffer_112[i]));*/\
+            if(bypass_adf == 1)\
+            gPC.putc(buffer_112[i]);\
         }\
     }\
     gCS_ADF=1;\