From 9a26bfb1e544c91ae70ecc63dc38a21b65231bdf Mon Sep 17 00:00:00 2001 From: rtel Date: Mon, 16 Mar 2015 11:22:43 +0000 Subject: [PATCH] Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet server. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2334 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../apps/BasicSocketCommandServer/BasicSocketCommandServer.c | 2 +- .../Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/main.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/lwIP_Demo/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c b/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/lwIP_Demo/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c index f77b2fe61..8e537e2a8 100644 --- a/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/lwIP_Demo/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c +++ b/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/lwIP_Demo/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c @@ -176,7 +176,7 @@ extern void vRegisterSampleCLICommands( void ); cInputString[ lInputIndex ] = '\0'; } } - else + else if( ( cInChar >= ' ' ) && ( cInChar <= 'z' ) ) { /* A character was entered. Add it to the string entered so far. When a \n is entered the complete diff --git a/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/main.c b/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/main.c index 2b877bbe3..2f967482f 100644 --- a/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/main.c +++ b/FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/main.c @@ -146,14 +146,9 @@ for the run time stats. */ static XTmrCtr xTickTimerInstance; /*-----------------------------------------------------------*/ -volatile uint32_t ulx = 999; int main( void ) { - /* Check start up code executed correctly. */ - configASSERT( ulx == 999 ); - ulx = 0; - /* Configure the hardware ready to run the demo. */ prvSetupHardware(); -- 2.39.5