Resolve Doxygen errors from RTOS. Fixed minor Doxygen bug in FileSystemHandle.h as well

pull/4508/head
Kevin Gilbert 2017-06-05 20:51:37 -05:00
parent af6f342725
commit 567589f138
3 changed files with 5 additions and 8 deletions

View File

@ -76,8 +76,8 @@ public:
}
/** Free a memory block.
@param address of the allocated memory block to be freed.
@return status code that indicates the execution status of the function.
@param block address of the allocated memory block to be freed.
@return status code that indicates the execution status of the function.
*/
osStatus free(T *block) {
return osMemoryPoolFree(_id, (void*)block);

View File

@ -40,7 +40,7 @@ namespace rtos {
class Semaphore {
public:
/** Create and Initialize a Semaphore object used for managing resources.
@param number of available resources; maximum index value is (count-1). (default: 0).
@param count number of available resources; maximum index value is (count-1). (default: 0).
*/
Semaphore(int32_t count=0);

View File

@ -85,7 +85,6 @@ public:
/** Create a new thread, and start it executing the specified function.
@param task function to be executed by this thread.
@param argument pointer that is passed to the thread function as start argument. (default: NULL).
@param priority initial priority of the thread function. (default: osPriorityNormal).
@param stack_size stack size (in bytes) requirements for the thread function. (default: OS_STACK_SIZE).
@param stack_mem pointer to the stack area to be used by this thread (default: NULL).
@ -112,9 +111,8 @@ public:
}
/** Create a new thread, and start it executing the specified function.
@param obj argument to task.
@param method function to be executed by this thread.
@param argument pointer that is passed to the thread function as start argument. (default: NULL).
@param task argument to task.
@param priority initial priority of the thread function. (default: osPriorityNormal).
@param stack_size stack size (in bytes) requirements for the thread function. (default: OS_STACK_SIZE).
@param stack_mem pointer to the stack area to be used by this thread (default: NULL).
@ -143,9 +141,8 @@ public:
}
/** Create a new thread, and start it executing the specified function.
@param obj argument to task.
@param method function to be executed by this thread.
@param argument pointer that is passed to the thread function as start argument. (default: NULL).
@param task argument to task.
@param priority initial priority of the thread function. (default: osPriorityNormal).
@param stack_size stack size (in bytes) requirements for the thread function. (default: OS_STACK_SIZE).
@param stack_mem pointer to the stack area to be used by this thread (default: NULL).