summaryrefslogtreecommitdiff
path: root/common/src/tx_queue_create.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /common/src/tx_queue_create.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/tx_queue_create.c')
-rw-r--r--common/src/tx_queue_create.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/src/tx_queue_create.c b/common/src/tx_queue_create.c
index 522075e5..01aec360 100644
--- a/common/src/tx_queue_create.c
+++ b/common/src/tx_queue_create.c
@@ -74,7 +74,7 @@
/* resulting in version 6.1 */
/* */
/**************************************************************************/
-UINT _tx_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size,
+UINT _tx_queue_create(TX_QUEUE *queue_ptr, CHAR *name_ptr, UINT message_size,
VOID *queue_start, ULONG queue_size)
{
@@ -91,7 +91,7 @@ TX_QUEUE *previous_queue;
/* Setup the basic queue fields. */
queue_ptr -> tx_queue_name = name_ptr;
-
+
/* Save the message size in the control block. */
queue_ptr -> tx_queue_message_size = message_size;
@@ -100,7 +100,7 @@ TX_QUEUE *previous_queue;
capacity = (UINT) (queue_size / ((ULONG) (((ULONG) message_size) * (sizeof(ULONG)))));
used_words = capacity * message_size;
- /* Save the starting address and calculate the ending address of
+ /* Save the starting address and calculate the ending address of
the queue. Note that the ending address is really one past the
end! */
queue_ptr -> tx_queue_start = TX_VOID_TO_ULONG_POINTER_CONVERT(queue_start);