Added in call to trend_log_timer so Trendlogs are updated and changed stop time on initial setup of logs to the year 2020 instead of 2009 so they would accumulate some more records.

This commit is contained in:
petermcs
2010-11-26 13:16:55 +00:00
parent 47ecaeabaa
commit 072640f887
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ void Trend_Log_Init(
0);
LogInfo[iLog].tStartTime =
TL_BAC_Time_To_Local(&LogInfo[iLog].StartTime);
datetime_set_values(&LogInfo[iLog].StopTime, 2009, 12, 22, 23, 59,
datetime_set_values(&LogInfo[iLog].StopTime, 2020, 12, 22, 23, 59,
59, 99);
LogInfo[iLog].tStopTime =
TL_BAC_Time_To_Local(&LogInfo[iLog].StopTime);
+1
View File
@@ -214,6 +214,7 @@ int main(
elapsed_milliseconds = elapsed_seconds * 1000;
handler_cov_task(elapsed_seconds);
tsm_timer_milliseconds(elapsed_milliseconds);
trend_log_timer(elapsed_seconds);
}
/* output */