mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Remove unnecessary calls to fflush() in MSP430X/IAR demo.
This commit is contained in:
parent
01f4b87dba
commit
6b661d03a5
|
@ -307,7 +307,6 @@ unsigned char ucLine = 1;
|
||||||
First print out the number of bytes that remain in the FreeRTOS heap. This
|
First print out the number of bytes that remain in the FreeRTOS heap. This
|
||||||
can be viewed in the terminal IO window within the IAR Embedded Workbench. */
|
can be viewed in the terminal IO window within the IAR Embedded Workbench. */
|
||||||
printf( "%d bytes of heap space remain unallocated\n", ( int ) xPortGetFreeHeapSize() );
|
printf( "%d bytes of heap space remain unallocated\n", ( int ) xPortGetFreeHeapSize() );
|
||||||
fflush( stdout );
|
|
||||||
|
|
||||||
/* Just as a test of the port, and for no functional reason, check the task
|
/* Just as a test of the port, and for no functional reason, check the task
|
||||||
parameter contains its expected value. */
|
parameter contains its expected value. */
|
||||||
|
@ -351,10 +350,8 @@ unsigned char ucLine = 1;
|
||||||
the terminal IO window in the IAR
|
the terminal IO window in the IAR
|
||||||
embedded workbench. */
|
embedded workbench. */
|
||||||
printf( "\nTask\t Abs Time\t %%Time\n*****************************************" );
|
printf( "\nTask\t Abs Time\t %%Time\n*****************************************" );
|
||||||
fflush( stdout );
|
|
||||||
vTaskGetRunTimeStats( ( signed char * ) cBuffer );
|
vTaskGetRunTimeStats( ( signed char * ) cBuffer );
|
||||||
printf( cBuffer );
|
printf( cBuffer );
|
||||||
fflush( stdout );
|
|
||||||
|
|
||||||
/* Also print out a message to
|
/* Also print out a message to
|
||||||
the LCD - in this case the
|
the LCD - in this case the
|
||||||
|
|
Loading…
Reference in a new issue