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.
Fork of FATFileSystem by
Revision 11:f430519973b0, committed 2018-04-18
- 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 |
--- 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};
