osMemoryPoolFree() function
Return an allocated memory block back to a Memory Pool.
Arguments
mp_id
memory pool ID obtained by osMemoryPoolNew.
block
address of the allocated memory block to be returned to the memory pool.
Return value
status code that indicates the execution status of the function.