cdms_i2c_hardware_test
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of standaloneworkingi2c_cdms by
Diff: OBSRS.h
- Revision:
- 95:fd99ddc0e0a1
- Parent:
- 93:4ca92f9775e0
- Child:
- 96: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;