Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: OBSRS.h
- Revision:
- 98:fd99ddc0e0a1
- Parent:
- 96:4ca92f9775e0
- Child:
- 99:efde3df6cd94
diff -r 717c7908c822 -r fd99ddc0e0a1 OBSRS.h
--- 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;
