Skip to content

Commit 42a0eaa

Browse files
committed
Ensure both one-shot and auto-reload are written consistently with a hyphen in comments.
1 parent 9456992 commit 42a0eaa

File tree

20 files changed

+104
-83
lines changed

20 files changed

+104
-83
lines changed

FreeRTOS/Demo/CORTEX_A2F200_IAR_and_Keil/main-blinky.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ int main(void)
158158
this file. */
159159
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
160160
( 5000 / portTICK_PERIOD_MS ), /* The timer period, in this case 5000ms (5s). */
161-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
161+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
162162
( void * ) 0, /* The ID is not used, so can be set to anything. */
163163
vLEDTimerCallback /* The callback function that switches the LED off. */
164164
);

FreeRTOS/Demo/CORTEX_A2F200_IAR_and_Keil/main-full.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ int main(void)
273273
this file. */
274274
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
275275
( mainLED_TIMER_PERIOD_MS ), /* The timer period, in this case 5000ms (5s). */
276-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
276+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
277277
( void * ) 0, /* The ID is not used, so can be set to anything. */
278278
prvLEDTimerCallback /* The callback function that switches the LED off. */
279279
);

FreeRTOS/Demo/CORTEX_A2F200_SoftConsole/main-blinky.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ int main(void)
158158
this file. */
159159
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
160160
( 5000 / portTICK_PERIOD_MS ),/* The timer period, in this case 5000ms (5s). */
161-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
161+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
162162
( void * ) 0, /* The ID is not used, so can be set to anything. */
163163
vLEDTimerCallback /* The callback function that switches the LED off. */
164164
);

FreeRTOS/Demo/CORTEX_A2F200_SoftConsole/main-full.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ int main(void)
273273
this file. */
274274
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
275275
( mainLED_TIMER_PERIOD_MS ), /* The timer period, in this case 5000ms (5s). */
276-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
276+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
277277
( void * ) 0, /* The ID is not used, so can be set to anything. */
278278
prvLEDTimerCallback /* The callback function that switches the LED off. */
279279
);

FreeRTOS/Demo/CORTEX_Kinetis_K60_Tower_IAR/main-full.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ static void prvCreateDemoSpecificTimers( void )
452452
this file. */
453453
xLEDButtonTimer = xTimerCreate( "ButtonLEDTimer", /* A text name, purely to help debugging. */
454454
( mainBUTTON_LED_TIMER_PERIOD_MS ), /* The timer period, in this case 5000ms (5s). */
455-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
455+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
456456
( void * ) 0, /* The ID is not used, so can be set to anything. */
457457
prvButtonLEDTimerCallback /* The callback function that switches the LED off. */
458458
);

FreeRTOS/Demo/CORTEX_Kinetis_K60_Tower_IAR/main_blinky.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ void main( void )
166166
this file. */
167167
xButtonLEDTimer = xTimerCreate( "ButtonLEDTimer", /* A text name, purely to help debugging. */
168168
mainBUTTON_LED_TIMER_PERIOD_MS, /* The timer period, in this case 5000ms (5s). */
169-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
169+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
170170
( void * ) 0, /* The ID is not used, so can be set to anything. */
171171
prvButtonLEDTimerCallback /* The callback function that switches the LED off. */
172172
);

FreeRTOS/Demo/CORTEX_MB9A310_IAR_Keil/main-full.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ int main(void)
287287
this file. */
288288
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
289289
( mainLED_TIMER_PERIOD_MS ),/* The timer period, in this case 5000ms (5s). */
290-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
290+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
291291
( void * ) 0, /* The ID is not used, so can be set to anything. */
292292
prvLEDTimerCallback /* The callback function that switches the LED off. */
293293
);

FreeRTOS/Demo/CORTEX_MB9A310_IAR_Keil/main_blinky.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ int main(void)
153153
this file. */
154154
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
155155
( 5000 / portTICK_PERIOD_MS ), /* The timer period, in this case 5000ms (5s). */
156-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
156+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
157157
( void * ) 0, /* The ID is not used, so can be set to anything. */
158158
vLEDTimerCallback /* The callback function that switches the LED off. */
159159
);

FreeRTOS/Demo/CORTEX_MB9B500_IAR_Keil/main-full.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ int main(void)
288288
this file. */
289289
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
290290
( mainLED_TIMER_PERIOD_MS ),/* The timer period, in this case 5000ms (5s). */
291-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
291+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
292292
( void * ) 0, /* The ID is not used, so can be set to anything. */
293293
prvLEDTimerCallback /* The callback function that switches the LED off. */
294294
);

FreeRTOS/Demo/CORTEX_MB9B500_IAR_Keil/main_blinky.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ int main(void)
154154
this file. */
155155
xLEDTimer = xTimerCreate( "LEDTimer", /* A text name, purely to help debugging. */
156156
( 5000 / portTICK_PERIOD_MS ),/* The timer period, in this case 5000ms (5s). */
157-
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
157+
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
158158
( void * ) 0, /* The ID is not used, so can be set to anything. */
159159
vLEDTimerCallback /* The callback function that switches the LED off. */
160160
);

0 commit comments

Comments
 (0)