Add some asserts into the common demo tasks to catch scenarios where the tasks are not being used but the part of the demo/test that gets called from the tick hook is called resultant in an access to objects that were not created.

This commit is contained in:
Richard Barry 2019-10-21 17:17:34 +00:00
parent 61a003088d
commit ef31243396
3 changed files with 8 additions and 1 deletions

View file

@ -976,6 +976,9 @@ BaseType_t xMessagePosted;
/* Called periodically from the tick hook to exercise the "FromISR"
functions. */
/* Check the even group tasks were actually created. */
configASSERT( xISREventGroup );
xCallCount++;
if( xCallCount == xSetBitCount )