From: rtel Date: Mon, 16 Mar 2015 11:22:43 +0000 (+0000) Subject: Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet... X-Git-Tag: V8.2.1~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9a26bfb1e544c91ae70ecc63dc38a21b65231bdf;p=freertos 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 --- 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();