Release 6.1.9
This commit is contained in:
@@ -87,7 +87,7 @@ TX_THREAD *thread_ptr;
|
||||
/* Default status to success. */
|
||||
status = TX_SUCCESS;
|
||||
#endif
|
||||
|
||||
|
||||
/* Check for an invalid pool pointer. */
|
||||
if (pool_ptr == TX_NULL)
|
||||
{
|
||||
@@ -99,7 +99,7 @@ TX_THREAD *thread_ptr;
|
||||
/* Now check the pool ID. */
|
||||
else if (pool_ptr -> tx_block_pool_id != TX_BLOCK_POOL_ID)
|
||||
{
|
||||
|
||||
|
||||
/* Pool pointer is invalid, return appropriate error code. */
|
||||
status = TX_POOL_ERROR;
|
||||
}
|
||||
@@ -109,7 +109,7 @@ TX_THREAD *thread_ptr;
|
||||
/* Is the call from an ISR or initialization? */
|
||||
else if (TX_THREAD_GET_SYSTEM_STATE() != ((ULONG) 0))
|
||||
{
|
||||
|
||||
|
||||
/* Invalid caller of this function, return appropriate error code. */
|
||||
status = TX_CALLER_ERROR;
|
||||
}
|
||||
@@ -136,7 +136,7 @@ TX_THREAD *thread_ptr;
|
||||
|
||||
/* Call actual block pool delete function. */
|
||||
status = _tx_block_pool_delete(pool_ptr);
|
||||
|
||||
|
||||
#ifndef TX_TIMER_PROCESS_IN_ISR
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user