From 1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c Mon Sep 17 00:00:00 2001 From: Yuxin Zhou Date: Thu, 14 Oct 2021 00:51:26 +0000 Subject: Release 6.1.9 --- common/src/txe_queue_send.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/src/txe_queue_send.c') diff --git a/common/src/txe_queue_send.c b/common/src/txe_queue_send.c index 660ea7fe..03a6f866 100644 --- a/common/src/txe_queue_send.c +++ b/common/src/txe_queue_send.c @@ -95,7 +95,7 @@ TX_THREAD *current_thread; /* Queue pointer is invalid, return appropriate error code. */ status = TX_QUEUE_ERROR; } - + /* Now check for invalid queue ID. */ else if (queue_ptr -> tx_queue_id != TX_QUEUE_ID) { @@ -114,7 +114,7 @@ TX_THREAD *current_thread; else { - /* Check for a wait option error. Only threads are allowed any form of + /* Check for a wait option error. Only threads are allowed any form of suspension. */ if (wait_option != TX_NO_WAIT) { @@ -126,11 +126,11 @@ TX_THREAD *current_thread; /* A non-thread is trying to suspend, return appropriate error code. */ status = TX_WAIT_ERROR; } - + #ifndef TX_TIMER_PROCESS_IN_ISR else { - + /* Pickup thread pointer. */ TX_THREAD_GET_CURRENT(current_thread) -- cgit v1.3.1