mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-28 05:58:36 -04:00
Replace the function that returns the current run time counter value with a macro for easier inlining.
This commit is contained in:
parent
d493958052
commit
7a71523712
7 changed files with 104 additions and 86 deletions
|
@ -160,11 +160,15 @@ of the same message and indicate what the status actually is. */
|
|||
#define mainERROR_GEN_QUEUE_TEST ( pdPASS + 3 )
|
||||
|
||||
/* Baud rate used by the comtest tasks. */
|
||||
#define mainCOM_TEST_BAUD_RATE ( 115200 )
|
||||
#define mainCOM_TEST_BAUD_RATE ( 115200 )
|
||||
|
||||
/* The LED used by the comtest tasks. See the comtest.c file for more
|
||||
information. */
|
||||
#define mainCOM_TEST_LED ( 3 )
|
||||
#define mainCOM_TEST_LED ( 3 )
|
||||
|
||||
/* The LCD task uses printf() so requires more stack than most of the other
|
||||
tasks. */
|
||||
#define mainLCD_TASK_STACK_SIZE ( configMINIMAL_STACK_SIZE * 2 )
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
|
@ -237,7 +241,7 @@ void main( void )
|
|||
|
||||
/* Create the LCD and button poll tasks, as described at the top of this
|
||||
file. */
|
||||
xTaskCreate( prvLCDTask, ( signed char * ) "LCD", configMINIMAL_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL );
|
||||
xTaskCreate( prvLCDTask, ( signed char * ) "LCD", mainLCD_TASK_STACK_SIZE, NULL, mainLCD_TASK_PRIORITY, NULL );
|
||||
xTaskCreate( prvButtonPollTask, ( signed char * ) "ButPoll", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL );
|
||||
|
||||
/* Create a subset of the standard demo tasks. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue