working version
Dependencies: mbed mbed-rtos SimpleDMA FreescaleIAP eeprom
Fork of CDMS_CODE_FM_28JAN2017 by
Revision 304:7cc4fe191a54, committed 2016-09-10
- Comitter:
- chaithanyarss
- Date:
- Sat Sep 10 05:10:06 2016 +0000
- Parent:
- 303:b49b486a7107
- Child:
- 305:beb148fe97dc
- Commit message:
- no SD write and read
Changed in this revision
| cdms_sd.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/cdms_sd.h Mon Sep 05 11:25:33 2016 +0000
+++ b/cdms_sd.h Sat Sep 10 05:10:06 2016 +0000
@@ -262,7 +262,7 @@
int SD_WRITE(uint8_t* buffer,uint32_t fsc,uint8_t sid)
{
- uint32_t block_number;
+ /*uint32_t block_number;
int result = 10;
if(SD_STATUS == DEVICE_POWERED){
if(sid==0x01)
@@ -325,13 +325,13 @@
}
return result;
}
- }
+ }*/
return 1;
}
uint8_t SD_READ(uint8_t* buffer,uint32_t fsc,uint8_t sid)
{
- FCTN_SD_MNGR();
+ /*FCTN_SD_MNGR();
uint32_t block_number;
int result;
//if(SD_SW_EN_DS == 1)
@@ -383,7 +383,8 @@
if(result == 0)
return 0xA0;
else
- return 0x88;
+ return 0x88;*/
+ return 0xA0;
}
