diff options
author | Dean Camera <[email protected]> | 2013-07-20 10:35:28 +0200 |
---|---|---|
committer | Dean Camera <[email protected]> | 2013-07-20 10:35:28 +0200 |
commit | b4af3f1fc9513d9f89df71c334862d5101807334 (patch) | |
tree | 3219bdec774d11c8fcdf33092fcd15a0e119ce84 /Projects/TempDataLogger/Lib/FATFs | |
parent | fc61e88a8d7fa209da63342be50faa507c393571 (diff) | |
download | qmk_firmware-b4af3f1fc9513d9f89df71c334862d5101807334.tar.gz qmk_firmware-b4af3f1fc9513d9f89df71c334862d5101807334.zip |
Add volatile software RTC to the TempDataLogger application if the dummy RTC mode is enabled.
Diffstat (limited to 'Projects/TempDataLogger/Lib/FATFs')
-rw-r--r-- | Projects/TempDataLogger/Lib/FATFs/diskio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/TempDataLogger/Lib/FATFs/diskio.c b/Projects/TempDataLogger/Lib/FATFs/diskio.c index 085d5aec6b..8cc8cd4049 100644 --- a/Projects/TempDataLogger/Lib/FATFs/diskio.c +++ b/Projects/TempDataLogger/Lib/FATFs/diskio.c @@ -85,7 +85,7 @@ DWORD get_fattime (void) { TimeDate_t CurrTimeDate; - DS1307_GetTimeDate(&CurrTimeDate); + RTC_GetTimeDate(&CurrTimeDate); return ((DWORD)(20 + CurrTimeDate.Year) << 25) | |