it's fat!

Fork of FATFileSystem by mbed official

Files at this revision

API Documentation at this revision

Comitter:
bwang
Date:
Wed Apr 18 12:25:04 2018 +0000
Parent:
10:28e685e5ff7f
Commit message:
timestamp modified to return 0, as this version of the board has no RTC

Changed in this revision

FATFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 28e685e5ff7f -r f430519973b0 FATFileSystem.cpp
--- a/FATFileSystem.cpp	Mon Jul 10 15:37:41 2017 +0000
+++ b/FATFileSystem.cpp	Wed Apr 18 12:25:04 2018 +0000
@@ -29,6 +29,7 @@
 #include "FATDirHandle.h"
 
 DWORD get_fattime(void) {
+    /*
     time_t rawtime;
     time(&rawtime);
     struct tm *ptm = localtime(&rawtime);
@@ -38,6 +39,8 @@
          | (DWORD)(ptm->tm_hour     ) << 11
          | (DWORD)(ptm->tm_min      ) << 5
          | (DWORD)(ptm->tm_sec/2    );
+    */
+    return 0;
 }
 
 FATFileSystem *FATFileSystem::_ffs[_VOLUMES] = {0};