pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
98:fd99ddc0e0a1
Parent:
96:4ca92f9775e0
Child:
99:efde3df6cd94
--- a/OBSRS.h	Mon Jan 25 14:20:44 2016 +0000
+++ b/OBSRS.h	Tue Jan 26 10:05:19 2016 +0000
@@ -436,9 +436,9 @@
 //                        for(int i=0;i<512;i++){
 //                        printf("0x%02X,",write_buffer[i]);
 //                        }
-                   int write_success = SD_WRITE(write_buffer,FSC + block_counter,SID);
+                   //int write_success = SD_WRITE(write_buffer,FSC + block_counter,SID);
 //                   wait_ms(8);
-                   read_success = SD_READ(buffer_512, FSC + block_counter,SID);
+                   //read_success = SD_READ(buffer_512, FSC + block_counter,SID);
 //                   wait_ms(8);
 //                   cout<<"read_success = "<<read_success<<ENDL<<"\r\n";
 //                   cout<<"write_success = "<<write_success<<ENDL;
@@ -447,7 +447,7 @@
 //                        }
                }
                else{
-                   read_success = SD_READ(buffer_512, list_of_FSC[block_counter],SID);
+                   /*read_success = SD_READ(buffer_512, list_of_FSC[block_counter],SID)*/;
                    }
                ack_code = read_success;
                block_counter++;
@@ -494,7 +494,7 @@
     
 //    short_TC = true;
     //pc.printf("WELCOME\n\r");
-    FCTN_CDMS_SD_INIT();/* sd card initialization*/
+    //FCTN_CDMS_SD_INIT();/* sd card initialization*/
 //    SID = 0x0;
 //    FSC =10;
 //    no_of_frames =1;