Rename a function in the STM32L demo to conform to the coding standard for private functions.

This commit is contained in:
Richard Barry 2010-12-29 22:05:28 +00:00
parent c7a110a853
commit a109f862a7

View file

@ -184,7 +184,7 @@ static void prvLCDTask( void *pvParameters );
* Definition of the button poll task described in the comments at the top of * Definition of the button poll task described in the comments at the top of
* this file. * this file.
*/ */
static void vButtonPollTask( void *pvParameters ); static void prvButtonPollTask( void *pvParameters );
/* /*
* Converts a status message value into an appropriate string for display on * Converts a status message value into an appropriate string for display on
@ -238,7 +238,7 @@ void main( void )
/* Create the LCD and button poll tasks, as described at the top of this /* Create the LCD and button poll tasks, as described at the top of this
file. */ file. */
xTaskCreate( prvLCDTask, ( signed char * ) "LCD", configMINIMAL_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL ); xTaskCreate( prvLCDTask, ( signed char * ) "LCD", configMINIMAL_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL );
xTaskCreate( vButtonPollTask, ( signed char * ) "ButPoll", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL ); xTaskCreate( prvButtonPollTask, ( signed char * ) "ButPoll", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
/* Create a subset of the standard demo tasks. */ /* Create a subset of the standard demo tasks. */
vStartDynamicPriorityTasks(); vStartDynamicPriorityTasks();
@ -436,7 +436,7 @@ static xQueueMessage xStatusMessage = { mainMESSAGE_STATUS, pdPASS };
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
static void vButtonPollTask( void *pvParameters ) static void prvButtonPollTask( void *pvParameters )
{ {
long lLastState = pdTRUE; long lLastState = pdTRUE;
long lState; long lState;