pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
95:42d6747900cb
Parent:
94:611c066467a1
Child:
96:4ca92f9775e0
--- a/ThreadsAndFunctions.h	Sun Jan 24 13:30:11 2016 +0000
+++ b/ThreadsAndFunctions.h	Mon Jan 25 06:22:29 2016 +0000
@@ -270,37 +270,37 @@
 }
 
 
-uint8_t payload_data[6723];
+//uint8_t payload_data[6723];
  
-void SCIENCE_FUN(void const *args){
-    uint8_t *ptr;
-    gPC.puts("haha\r\n");
-    ptr = &(payload_data[3]);
-    gPC.puts("haha2\r\n");
-    int counter = 0;
-    gPC.puts("haha3\r\n");
-    payload_data[2] = 0;//for mode
-    for(int i = 0; i<60 ;i++){      //for mode 0.....callibra
-        for(int j= 0; j<48; j++){   //2 byte values
-            ptr[counter++] = 0;     ptr[counter++] = 65;
-        }
-        for(int j=96; j <100 ; j++){
-            ptr[counter++] = 0;     ptr[counter++] = 0;     ptr[counter++] = 0;     ptr[counter++] = 65;    
-        }
-        ptr = ptr+112;
-        counter = 0;
-    }
-    srp(payload_data);
-    
-     gPC.puts("data given to payload");
-    while(true){
-        gSCIENCE_THREAD->wait(osWaitForever);
-    }
+//void SCIENCE_FUN(void const *args){
+//    uint8_t *ptr;
+//    gPC.puts("haha\r\n");
+//    ptr = &(payload_data[3]);
+//    gPC.puts("haha2\r\n");
+//    int counter = 0;
+//    gPC.puts("haha3\r\n");
+//    payload_data[2] = 0;//for mode
+//    for(int i = 0; i<60 ;i++){      //for mode 0.....callibra
+//        for(int j= 0; j<48; j++){   //2 byte values
+//            ptr[counter++] = 0;     ptr[counter++] = 65;
+//        }
+//        for(int j=96; j <100 ; j++){
+//            ptr[counter++] = 0;     ptr[counter++] = 0;     ptr[counter++] = 0;     ptr[counter++] = 65;    
+//        }
+//        ptr = ptr+112;
+//        counter = 0;
+//    }
+//    srp(payload_data);
+//    
+//     gPC.puts("data given to payload");
+//    while(true){
+//        gSCIENCE_THREAD->wait(osWaitForever);
+//    }
 //    while(true){
 //        gSCIENCE_THREAD->signal_wait(SCIENCE_SIGNAL);
 //        srp(payload_data);
 //    }
-}
+//}