1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Removed conditional inclusion of queueContains.

This commit is contained in:
Martin Budden 2016-02-02 21:37:39 +00:00 committed by borisbstyle
parent d545cbf620
commit d8776c8e47

View file

@ -68,7 +68,6 @@ STATIC_UNIT_TESTED int queueSize(void)
}
#endif
#if !defined(SKIP_TASK_STATISTICS) || defined(UNIT_TEST)
STATIC_UNIT_TESTED bool queueContains(cfTask_t *task)
{
for (int ii = 0; ii < taskQueueSize; ++ii) {
@ -78,7 +77,6 @@ STATIC_UNIT_TESTED bool queueContains(cfTask_t *task)
}
return false;
}
#endif
STATIC_UNIT_TESTED void queueAdd(cfTask_t *task)
{