mirror of
https://github.com/eclipse-threadx/threadx.git
synced 2025-11-16 04:24:48 +00:00
Added missing check for TX_QUEUE_MESSAGE_MAX_SIZE.
This commit is contained in:
@@ -178,8 +178,8 @@ TX_THREAD *thread_ptr;
|
||||
status = TX_SIZE_ERROR;
|
||||
}
|
||||
|
||||
/* Check for an invalid message size - greater than 16. */
|
||||
else if (message_size > TX_16_ULONG)
|
||||
/* Check for an invalid message sizegreater than TX_QUEUE_MESSAGE_MAX_SIZE 16 by default. */
|
||||
else if (message_size > TX_QUEUE_MESSAGE_MAX_SIZE)
|
||||
{
|
||||
|
||||
/* Invalid message size specified. */
|
||||
|
||||
Reference in New Issue
Block a user