Skip to content

Commit 96ed994

Browse files
committed
Fix spelling, formatting
1 parent fc56066 commit 96ed994

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

MISRA.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,17 @@ _Ref 21.6.1_
145145
vTaskGetRunTimeStatistics APIs, both of which are utility functions only and
146146
are not considered part of core kernel implementation.
147147

148-
### Unsupressed Deviations
148+
### Unsuppressed Deviations
149149

150-
Certain deviating code is left unsurpressed for awarness. These violations
150+
Certain deviating code is left unsurppressed for awareness. These violations
151151
will be reported when audited by a MISRA-checking static analysis tool.
152152

153153
Some of these unsuppressed exceptions correspond to example code provided
154154
either for demonstration or verification of the FreeRTOS kernel. This code
155-
is not considered part of the kernel implemenation and should not be used
155+
is not considered part of the kernel implementation and should not be used
156156
in an application.
157157

158-
Other unsupressed violations are left present in the kernel implementation
158+
Other unsuppressed violations are left present in the kernel implementation
159159
as implementations, code, or other missing functionality being flagged for
160160
violations will be present with the porting layer provided by the
161161
application. The presence of these errors after providing a port indicates
@@ -167,7 +167,7 @@ MISRA C:2012 Dir 2.1: A project shall not contain unreachable code
167167

168168
_Ref 2.1_
169169
- Simplified example contains unreachable code for demonstration of
170-
freertos scheduler. A production implemenation should not contain
170+
FreeRTOS scheduler. A production implementation should not contain
171171
this.
172172

173173
Affected Files:
@@ -191,7 +191,7 @@ MISRA C:2012 Dir 4.12: Dynamic allocation shall not be used
191191
_Ref 4.12_
192192
- Heap memory solutions utilize pvPortMalloc/vPortFree to provide heap
193193
memory for dynamic object allocation. These functions may rely upon
194-
the malloc/free of the underlying port. Static allocation is reccomended
194+
the malloc/free of the underlying port. Static allocation is recommended
195195
for MISRA compliant applications.
196196

197197
Affected Files:
@@ -225,9 +225,9 @@ MISRA C-2012 Rule 21.6: The Standard Library input/output functions shall not
225225
be used.
226226

227227
_Ref 21.6.1_
228-
- The Standard Library function printf is used in examples to provide a
228+
- The Standard Library function `printf` is used in examples to provide a
229229
simple getting started demonstration. This example is not considered part
230230
of the kernel implementation.
231231

232232
Affected Files:
233-
- examples/cmake_example/main.c
233+
- examples/cmake_example/main.c

queue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3343,7 +3343,7 @@ BaseType_t xQueueIsQueueFullFromISR( const QueueHandle_t xQueue )
33433343
configASSERT( pxQueueSetContainer ); /* LCOV_EXCL_BR_LINE */
33443344
configASSERT( pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength );
33453345

3346-
if( (pxQueueSetContainer != NULL) && (pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength) )
3346+
if( ( pxQueueSetContainer != NULL ) && ( pxQueueSetContainer->uxMessagesWaiting < pxQueueSetContainer->uxLength ) )
33473347
{
33483348
const int8_t cTxLock = pxQueueSetContainer->cTxLock;
33493349

0 commit comments

Comments
 (0)