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:
- 99:efde3df6cd94
- Parent:
- 98:fd99ddc0e0a1
- Child:
- 100:484a687431cc
--- a/OBSRS.h Tue Jan 26 10:05:19 2016 +0000
+++ b/OBSRS.h Tue Jan 26 12:18:53 2016 +0000
@@ -438,7 +438,7 @@
// }
//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,6 @@
// short_TC = true;
//pc.printf("WELCOME\n\r");
- //FCTN_CDMS_SD_INIT();/* sd card initialization*/
// SID = 0x0;
// FSC =10;
// no_of_frames =1;
@@ -526,8 +525,8 @@
list_of_FSC[i] = tcp->TC_string[4+i];
}
}
- //gPC.printf("sid = %u \r\n",SID);
- //gPC.printf("FSC = %u\r\n",FSC);
+ gPC.printf("sid = %u \r\n",SID);
+ gPC.printf("FSC = %u\r\n",FSC);
gPC.puts("exit_sdcard");
// SID = 0x0;
// FSC = 10;
