mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-06 17:30:22 +08:00
Fix RP2040 compile warning (#736)
* Fix Pico compile warning -- port layer * Warning resolved for volatile discard task.c (#5) --------- Co-authored-by: Pranjal Chanda <40349163+pranjalchanda08@users.noreply.github.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
2
tasks.c
2
tasks.c
@ -5541,7 +5541,7 @@ static void prvCheckTasksWaitingTermination( void )
|
||||
/* xTask is NULL then get the state of the calling task. */
|
||||
pxTCB = prvGetTCBFromHandle( xTask );
|
||||
|
||||
pxTaskStatus->xHandle = ( TaskHandle_t ) pxTCB;
|
||||
pxTaskStatus->xHandle = pxTCB;
|
||||
pxTaskStatus->pcTaskName = ( const char * ) &( pxTCB->pcTaskName[ 0 ] );
|
||||
pxTaskStatus->uxCurrentPriority = pxTCB->uxPriority;
|
||||
pxTaskStatus->pxStackBase = pxTCB->pxStack;
|
||||
|
Reference in New Issue
Block a user