rohit gupta / Mbed 2 deprecated merged_code2_3rd_nov_2017

Dependencies:   SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217

Fork of merged_code2_3rd_nov_2017 by nikita teggi

Revision:
46:162ed3f051b2
Parent:
43:85a7f399cb9d
Child:
49:3ff80c4bc1be
--- a/sdcard.cpp	Tue Sep 12 10:08:04 2017 +0000
+++ b/sdcard.cpp	Wed Sep 13 06:06:41 2017 +0000
@@ -110,7 +110,7 @@
           }
  }
  
- void sd_read(uint32_t  *v1, int size)          //reading the data from the openend file
+ void sd_read(uint32_t  *v1, uint16_t size)          //reading the data from the openend file
  {
      fread(v1,sizeof(v1),size,fp);
  }
@@ -128,7 +128,7 @@
 }
 
 
-int file_size()    
+uint32_t file_size()    
    {
      int file_length;
      fseek (fp, 0, SEEK_END);
@@ -139,7 +139,7 @@
      }  
      
      
-     int file_size1()    
+uint32_t file_size1()    
    {
      int file_length;
     // fseek (fp, 0, SEEK_END);