diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-07-20 10:35:28 +0200 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-07-20 10:35:28 +0200 |
commit | b4af3f1fc9513d9f89df71c334862d5101807334 (patch) | |
tree | 3219bdec774d11c8fcdf33092fcd15a0e119ce84 /Projects/TempDataLogger/Lib/FATFs | |
parent | fc61e88a8d7fa209da63342be50faa507c393571 (diff) | |
download | lufa-b4af3f1fc9513d9f89df71c334862d5101807334.tar.gz lufa-b4af3f1fc9513d9f89df71c334862d5101807334.tar.bz2 lufa-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 085d5aec6..8cc8cd404 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) | |