mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-03 04:43:52 -04:00
Ensure both one-shot and auto-reload are written consistently with a hyphen in comments.
This commit is contained in:
parent
9456992c1f
commit
42a0eaafdc
20 changed files with 104 additions and 83 deletions
|
@ -452,7 +452,7 @@ static void prvCreateDemoSpecificTimers( void )
|
|||
this file. */
|
||||
xLEDButtonTimer = xTimerCreate( "ButtonLEDTimer", /* A text name, purely to help debugging. */
|
||||
( mainBUTTON_LED_TIMER_PERIOD_MS ), /* The timer period, in this case 5000ms (5s). */
|
||||
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
|
||||
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
|
||||
( void * ) 0, /* The ID is not used, so can be set to anything. */
|
||||
prvButtonLEDTimerCallback /* The callback function that switches the LED off. */
|
||||
);
|
||||
|
|
|
@ -166,7 +166,7 @@ void main( void )
|
|||
this file. */
|
||||
xButtonLEDTimer = xTimerCreate( "ButtonLEDTimer", /* A text name, purely to help debugging. */
|
||||
mainBUTTON_LED_TIMER_PERIOD_MS, /* The timer period, in this case 5000ms (5s). */
|
||||
pdFALSE, /* This is a one shot timer, so xAutoReload is set to pdFALSE. */
|
||||
pdFALSE, /* This is a one-shot timer, so xAutoReload is set to pdFALSE. */
|
||||
( void * ) 0, /* The ID is not used, so can be set to anything. */
|
||||
prvButtonLEDTimerCallback /* The callback function that switches the LED off. */
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue