From 3621536dd52422fb71b50325719c94dd1474306a Mon Sep 17 00:00:00 2001 From: Amanda Butler Date: Mon, 8 Jan 2018 17:52:40 -0600 Subject: [PATCH] Copy edit Semaphore.h Copy edit file for active voice. --- rtos/Semaphore.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rtos/Semaphore.h b/rtos/Semaphore.h index a374bccf21..e8fc22205a 100644 --- a/rtos/Semaphore.h +++ b/rtos/Semaphore.h @@ -47,7 +47,7 @@ public: /** Create and Initialize a Semaphore object used for managing resources. @param count number of available resources; maximum index value is (count-1). (default: 0). - @note This function cannot be called from ISR context. + @note You cannot call this function from ISR context. */ Semaphore(int32_t count=0); @@ -55,7 +55,7 @@ public: @param count number of available resources @param max_count maximum number of available resources - @note This function cannot be called from ISR context. + @note You cannot call this function from ISR context. */ Semaphore(int32_t count, uint16_t max_count); @@ -63,7 +63,7 @@ public: @param millisec timeout value or 0 in case of no time-out. (default: osWaitForever). @return number of available tokens, before taking one; or -1 in case of incorrect parameters - @note This function may be called from ISR context if the millisec parameter is set to 0. + @note You may call this function from ISR context if the millisec parameter is set to 0. */ int32_t wait(uint32_t millisec=osWaitForever); @@ -73,13 +73,13 @@ public: @a osErrorResource the maximum token count has been reached. @a osErrorParameter internal error. - @note This function may be called from ISR context. + @note You may call this function from ISR context. */ osStatus release(void); /** Semaphore destructor * - * @note This function cannot be called from ISR context. + * @note You cannot call this function from ISR context. */ ~Semaphore();