vr1.1

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_RTOS_v1_1 by Team Fox

Revision:
7:c270a9e37290
Parent:
4:cc85cfaa2086
Child:
8:607ae92fa6af
--- a/SDCard.cpp	Tue Jun 16 16:16:12 2015 +0000
+++ b/SDCard.cpp	Fri Jul 03 08:38:12 2015 +0000
@@ -8,7 +8,7 @@
 int cdv;
 uint64_t sectors;
 
-int *FUNC_INIT_SD()
+int *FCTN_INIT_SD()
 {
     int sd_response[2] = {initialise_card(),disk_initialize()};
     return sd_response;    
@@ -295,7 +295,7 @@
     return 0;
 }
  
-int FUNC_WR_SD(const uint8_t *buffer, uint64_t block_number)
+int FCTN_WR_SD(const uint8_t *buffer, uint64_t block_number)
  
 {
     // set write address for single block (CMD24)
@@ -339,7 +339,7 @@
     return 0;
 }
  
-int  FUNC_RD_SD(uint8_t *buffer, uint64_t block_number) {
+int  FCTN_RD_SD(uint8_t *buffer, uint64_t block_number) {
     // set read address for single block (CMD17)
     if (cmd(17, block_number * cdv) != 0) {
         return 1;