Use portTASK_FUNCTION_PROTO to replace portNORETURN (#688)

* Use portTASK_FUNCTION_PROTO to replace portNORETURN
This commit is contained in:
chinglee-iot 2023-06-12 18:47:17 +08:00 committed by GitHub
parent 77d8086f1c
commit 17a46c252f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 4 additions and 36 deletions

View file

@ -432,7 +432,7 @@ static void prvInitialiseTaskLists( void ) PRIVILEGED_FUNCTION;
* void prvIdleTask( void *pvParameters );
*
*/
static portTASK_FUNCTION_PROTO( prvIdleTask, pvParameters ) portNORETURN PRIVILEGED_FUNCTION;
static portTASK_FUNCTION_PROTO( prvIdleTask, pvParameters ) PRIVILEGED_FUNCTION;
/*
* Utility to free all memory allocated by the scheduler to hold a TCB,
@ -3486,7 +3486,7 @@ void vTaskMissedYield( void )
*
*/
portTASK_FUNCTION( prvIdleTask, pvParameters )
static portTASK_FUNCTION( prvIdleTask, pvParameters )
{
/* Stop warnings. */
( void ) pvParameters;