mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-09 05:05:17 -05:00
Merge branch 'main' into MISRA-20.7
This commit is contained in:
commit
31fbdd49e8
3 changed files with 14 additions and 14 deletions
|
|
@ -245,7 +245,7 @@
|
|||
/**
|
||||
* @brief Kernel object pool.
|
||||
*/
|
||||
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { NULL };
|
||||
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { 0 };
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
static int32_t MPU_GetFreeIndexInKernelObjectPool( void ) /* PRIVILEGED_FUNCTION */
|
||||
|
|
@ -269,7 +269,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
xTaskResumeAll();
|
||||
( void ) xTaskResumeAll();
|
||||
|
||||
return lFreeIndex;
|
||||
}
|
||||
|
|
@ -2964,7 +2964,7 @@
|
|||
QueueHandle_t xInternalQueueHandle = NULL;
|
||||
BaseType_t xReturn = pdFAIL;
|
||||
|
||||
lIndex = ( uint32_t ) xQueue;
|
||||
lIndex = ( int32_t ) xQueue;
|
||||
|
||||
if( IS_EXTERNAL_INDEX_VALID( lIndex ) != pdFALSE )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue