mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 09:07:46 -04:00
Fix typos in FreeRTOS.h
This commit is contained in:
parent
578d040659
commit
e01f050cbb
1 changed files with 11 additions and 11 deletions
|
@ -979,7 +979,7 @@
|
||||||
|
|
||||||
#ifndef configMIN
|
#ifndef configMIN
|
||||||
|
|
||||||
/* The application writer has not provided their own MAX macro, so define
|
/* The application writer has not provided their own MIN macro, so define
|
||||||
* the following generic implementation. */
|
* the following generic implementation. */
|
||||||
#define configMIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
|
#define configMIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
|
||||||
#endif
|
#endif
|
||||||
|
@ -1105,7 +1105,7 @@
|
||||||
* data hiding policy, so the real structures used by FreeRTOS to maintain the
|
* data hiding policy, so the real structures used by FreeRTOS to maintain the
|
||||||
* state of tasks, queues, semaphores, etc. are not accessible to the application
|
* state of tasks, queues, semaphores, etc. are not accessible to the application
|
||||||
* code. However, if the application writer wants to statically allocate such
|
* code. However, if the application writer wants to statically allocate such
|
||||||
* an object then the size of the object needs to be know. Dummy structures
|
* an object then the size of the object needs to be known. Dummy structures
|
||||||
* that are guaranteed to have the same size and alignment requirements of the
|
* that are guaranteed to have the same size and alignment requirements of the
|
||||||
* real objects are used for this purpose. The dummy list and list item
|
* real objects are used for this purpose. The dummy list and list item
|
||||||
* structures below are used for inclusion in such a dummy structure.
|
* structures below are used for inclusion in such a dummy structure.
|
||||||
|
@ -1154,7 +1154,7 @@ typedef struct xSTATIC_LIST
|
||||||
* strict data hiding policy. This means the Task structure used internally by
|
* strict data hiding policy. This means the Task structure used internally by
|
||||||
* FreeRTOS is not accessible to application code. However, if the application
|
* FreeRTOS is not accessible to application code. However, if the application
|
||||||
* writer wants to statically allocate the memory required to create a task then
|
* writer wants to statically allocate the memory required to create a task then
|
||||||
* the size of the task object needs to be know. The StaticTask_t structure
|
* the size of the task object needs to be known. The StaticTask_t structure
|
||||||
* below is provided for this purpose. Its sizes and alignment requirements are
|
* below is provided for this purpose. Its sizes and alignment requirements are
|
||||||
* guaranteed to match those of the genuine structure, no matter which
|
* guaranteed to match those of the genuine structure, no matter which
|
||||||
* architecture is being used, and no matter how the values in FreeRTOSConfig.h
|
* architecture is being used, and no matter how the values in FreeRTOSConfig.h
|
||||||
|
@ -1217,7 +1217,7 @@ typedef struct xSTATIC_TCB
|
||||||
* strict data hiding policy. This means the Queue structure used internally by
|
* strict data hiding policy. This means the Queue structure used internally by
|
||||||
* FreeRTOS is not accessible to application code. However, if the application
|
* FreeRTOS is not accessible to application code. However, if the application
|
||||||
* writer wants to statically allocate the memory required to create a queue
|
* writer wants to statically allocate the memory required to create a queue
|
||||||
* then the size of the queue object needs to be know. The StaticQueue_t
|
* then the size of the queue object needs to be known. The StaticQueue_t
|
||||||
* structure below is provided for this purpose. Its sizes and alignment
|
* structure below is provided for this purpose. Its sizes and alignment
|
||||||
* requirements are guaranteed to match those of the genuine structure, no
|
* requirements are guaranteed to match those of the genuine structure, no
|
||||||
* matter which architecture is being used, and no matter how the values in
|
* matter which architecture is being used, and no matter how the values in
|
||||||
|
@ -1288,7 +1288,7 @@ typedef struct xSTATIC_EVENT_GROUP
|
||||||
* strict data hiding policy. This means the software timer structure used
|
* strict data hiding policy. This means the software timer structure used
|
||||||
* internally by FreeRTOS is not accessible to application code. However, if
|
* internally by FreeRTOS is not accessible to application code. However, if
|
||||||
* the application writer wants to statically allocate the memory required to
|
* the application writer wants to statically allocate the memory required to
|
||||||
* create a software timer then the size of the queue object needs to be know.
|
* create a software timer then the size of the queue object needs to be known.
|
||||||
* The StaticTimer_t structure below is provided for this purpose. Its sizes
|
* The StaticTimer_t structure below is provided for this purpose. Its sizes
|
||||||
* and alignment requirements are guaranteed to match those of the genuine
|
* and alignment requirements are guaranteed to match those of the genuine
|
||||||
* structure, no matter which architecture is being used, and no matter how the
|
* structure, no matter which architecture is being used, and no matter how the
|
||||||
|
@ -1316,12 +1316,12 @@ typedef struct xSTATIC_TIMER
|
||||||
* internally by FreeRTOS is not accessible to application code. However, if
|
* internally by FreeRTOS is not accessible to application code. However, if
|
||||||
* the application writer wants to statically allocate the memory required to
|
* the application writer wants to statically allocate the memory required to
|
||||||
* create a stream buffer then the size of the stream buffer object needs to be
|
* create a stream buffer then the size of the stream buffer object needs to be
|
||||||
* know. The StaticStreamBuffer_t structure below is provided for this purpose.
|
* known. The StaticStreamBuffer_t structure below is provided for this
|
||||||
* Its size and alignment requirements are guaranteed to match those of the
|
* purpose. Its size and alignment requirements are guaranteed to match those
|
||||||
* genuine structure, no matter which architecture is being used, and no matter
|
* of the genuine structure, no matter which architecture is being used, and
|
||||||
* how the values in FreeRTOSConfig.h are set. Its contents are somewhat
|
* no matter how the values in FreeRTOSConfig.h are set. Its contents are
|
||||||
* obfuscated in the hope users will recognise that it would be unwise to make
|
* somewhat obfuscated in the hope users will recognise that it would be unwise
|
||||||
* direct use of the structure members.
|
* to make direct use of the structure members.
|
||||||
*/
|
*/
|
||||||
typedef struct xSTATIC_STREAM_BUFFER
|
typedef struct xSTATIC_STREAM_BUFFER
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue