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
e6629aa01a
3 changed files with 36 additions and 35 deletions
|
|
@ -263,7 +263,7 @@
|
|||
if( xKernelObjectPool[ i ].xInternalObjectHandle == NULL )
|
||||
{
|
||||
/* Mark this index as not free. */
|
||||
xKernelObjectPool[ i ].xInternalObjectHandle = ( OpaqueObjectHandle_t ) ( ~0 );
|
||||
xKernelObjectPool[ i ].xInternalObjectHandle = ( OpaqueObjectHandle_t ) ( ~0U );
|
||||
lFreeIndex = i;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue