Refactored the DCC code in APDU for clarity. Added DCC check in demo server to prevend COV when DCC is not enabled.

This commit is contained in:
skarg
2010-12-22 03:09:42 +00:00
parent 350736f6bb
commit 1c560c27b9
3 changed files with 70 additions and 21 deletions
+3 -1
View File
@@ -213,7 +213,9 @@ int main(
dlenv_maintenance_timer(elapsed_seconds);
Load_Control_State_Machine_Handler();
elapsed_milliseconds = elapsed_seconds * 1000;
handler_cov_task(elapsed_seconds);
if (dcc_communication_enabled()) {
handler_cov_task(elapsed_seconds);
}
tsm_timer_milliseconds(elapsed_milliseconds);
trend_log_timer(elapsed_seconds);
}