From 6b661d03a53d23e66a25e7790bc1756238c33908 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Thu, 13 Jan 2011 10:27:06 +0000 Subject: [PATCH] Remove unnecessary calls to fflush() in MSP430X/IAR demo. --- Demo/MSP430X_MSP430F5438_IAR/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Demo/MSP430X_MSP430F5438_IAR/main.c b/Demo/MSP430X_MSP430F5438_IAR/main.c index 749fa19a4..03ef41477 100644 --- a/Demo/MSP430X_MSP430F5438_IAR/main.c +++ b/Demo/MSP430X_MSP430F5438_IAR/main.c @@ -307,7 +307,6 @@ unsigned char ucLine = 1; 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. */ 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 parameter contains its expected value. */ @@ -351,10 +350,8 @@ unsigned char ucLine = 1; the terminal IO window in the IAR embedded workbench. */ printf( "\nTask\t Abs Time\t %%Time\n*****************************************" ); - fflush( stdout ); vTaskGetRunTimeStats( ( signed char * ) cBuffer ); printf( cBuffer ); - fflush( stdout ); /* Also print out a message to the LCD - in this case the