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:
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user