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 eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: cdms_sd.h
- Revision:
- 304:7cc4fe191a54
- Parent:
- 303:b49b486a7107
- Child:
- 308:7c3872365d58
diff -r b49b486a7107 -r 7cc4fe191a54 cdms_sd.h
--- 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;
}
