Merge remote-tracking branch 'upstream/master' into master

This commit is contained in:
Jon Snow 2020-10-05 22:15:31 -04:00
commit 249907a3dc

View file

@ -430,6 +430,13 @@ Thread_t *pxThread = pvParams;
/* Call the task's entry point. */ /* Call the task's entry point. */
pxThread->pxCode( pxThread->pvParams ); pxThread->pxCode( pxThread->pvParams );
/* A function that implements a task must not exit or attempt to return to
* its caller as there is nothing to return to. If a task wants to exit it
* should instead call vTaskDelete( NULL ). Artificially force an assert()
* to be triggered if configASSERT() is defined, so application writers can
* catch the error. */
configASSERT( pdFALSE );
return NULL; return NULL;
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/