Fixed some warnings detected by CSTAT.

Consolidated some unit tests and added a single test prototype to header file.
This commit is contained in:
skarg
2016-06-08 21:55:12 +00:00
parent 57bb0d6d70
commit f8bcd58cea
9 changed files with 75 additions and 63 deletions
+8 -1
View File
@@ -608,7 +608,7 @@ void handler_cov_timer_seconds(
}
}
void handler_cov_task(
bool handler_cov_fsm(
void)
{
static int index = 0;
@@ -739,6 +739,13 @@ void handler_cov_task(
cov_task_state = COV_STATE_IDLE;
break;
}
return (cov_task_state == COV_STATE_IDLE);
}
void handler_cov_task(
void)
{
handler_cov_fsm();
}
static bool cov_subscribe(