]> git.sur5r.net Git - freertos/commitdiff
Remove unnecessary calls to fflush() in MSP430X/IAR demo.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 13 Jan 2011 10:27:06 +0000 (10:27 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Thu, 13 Jan 2011 10:27:06 +0000 (10:27 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1244 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MSP430X_MSP430F5438_IAR/main.c

index 749fa19a453120c0483e6bdaf82fd045938a45ac..03ef4147775c331acf4181be6f7ce69eb5e1b1d4 100644 (file)
@@ -307,7 +307,6 @@ unsigned char ucLine = 1;
        First print out the number of bytes that remain in the FreeRTOS heap.  This\r
        can be viewed in the terminal IO window within the IAR Embedded Workbench. */\r
        printf( "%d bytes of heap space remain unallocated\n", ( int ) xPortGetFreeHeapSize() );\r
-       fflush( stdout );\r
        \r
        /* Just as a test of the port, and for no functional reason, check the task\r
        parameter contains its expected value. */\r
@@ -351,10 +350,8 @@ unsigned char ucLine = 1;
                                                                                                the terminal IO window in the IAR\r
                                                                                                embedded workbench. */\r
                                                                                                printf( "\nTask\t     Abs Time\t     %%Time\n*****************************************" );\r
-                                                                                               fflush( stdout );\r
                                                                                                vTaskGetRunTimeStats( ( signed char * ) cBuffer );\r
                                                                                                printf( cBuffer );\r
-                                                                                               fflush( stdout );\r
                                                                                                \r
                                                                                                /* Also print out a message to\r
                                                                                                the LCD - in this case the\r