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 12:67250f8df758, committed 2018-01-29
- Comitter:
- bwang
- Date:
- Mon Jan 29 09:41:35 2018 +0000
- Parent:
- 11:3992ff7dc7dc
- Commit message:
- get_fattime() uses external BNO55 object to get time
Changed in this revision
FATFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/FATFileSystem.cpp Mon Jan 29 09:40:05 2018 +0000 +++ b/FATFileSystem.cpp Mon Jan 29 09:41:35 2018 +0000 @@ -33,7 +33,7 @@ DWORD get_fattime(void) { time_t rawtime; - //time(&rawtime); + rawtime = rtc->now().unixtime(); struct tm *ptm = localtime(&rawtime); return (DWORD)(ptm->tm_year - 80) << 25