Add volatile software RTC to the TempDataLogger application if the dummy RTC mode is enabled.

This commit is contained in:
Dean Camera 2013-07-20 10:35:28 +02:00
parent fc61e88a8d
commit b4af3f1fc9
7 changed files with 116 additions and 31 deletions

View file

@ -85,7 +85,7 @@ DWORD get_fattime (void)
{
TimeDate_t CurrTimeDate;
DS1307_GetTimeDate(&CurrTimeDate);
RTC_GetTimeDate(&CurrTimeDate);
return ((DWORD)(20 + CurrTimeDate.Year) << 25) |