Add volatile software RTC to the TempDataLogger application if the dummy RTC mode is enabled.
This commit is contained in:
1 parent
fc61e88a8d
commit
b4af3f1fc9
7 files changed
+116
-31
No files matched your search
@@ -85,7 +85,7 @@ DWORD get_fattime (void)
|
||||
{
|
||||
TimeDate_t CurrTimeDate;
|
||||
|
||||
DS1307_GetTimeDate(&CurrTimeDate);
|
||||
RTC_GetTimeDate(&CurrTimeDate);
|
||||
|
||||
|
||||
return ((DWORD)(20 + CurrTimeDate.Year) << 25) |
|
||||
|
||||
Reference in new issue
Block a user