]> git.sur5r.net Git - freertos/commitdiff
Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet...
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 16 Mar 2015 11:22:43 +0000 (11:22 +0000)
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Mon, 16 Mar 2015 11:22:43 +0000 (11:22 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2334 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/lwIP_Demo/lwIP_Apps/apps/BasicSocketCommandServer/BasicSocketCommandServer.c
FreeRTOS/Demo/MicroBlaze_Kintex7_EthernetLite/RTOSDemo/src/main.c

index f77b2fe61010159039dd1e16f0a3ecdb4cefe788..8e537e2a855308640a463cc78f6e9d90ba90c380 100644 (file)
@@ -176,7 +176,7 @@ extern void vRegisterSampleCLICommands( void );
                                                                        cInputString[ lInputIndex ] = '\0';\r
                                                                }\r
                                                        }\r
-                                                       else\r
+                                                       else if( ( cInChar >= ' ' ) && ( cInChar <= 'z' ) )\r
                                                        {\r
                                                                /* A character was entered.  Add it to the string\r
                                                                entered so far.  When a \n is entered the complete\r
index 2b877bbe3e6e22125e85812c7880f7ba71c38ef4..2f967482f2f28a79356bc7a498534c376d155a12 100644 (file)
@@ -146,14 +146,9 @@ for the run time stats. */
 static XTmrCtr xTickTimerInstance;\r
 \r
 /*-----------------------------------------------------------*/\r
-volatile uint32_t ulx = 999;\r
 \r
 int main( void )\r
 {\r
-       /* Check start up code executed correctly. */\r
-       configASSERT( ulx == 999 );\r
-       ulx = 0;\r
-\r
        /* Configure the hardware ready to run the demo. */\r
        prvSetupHardware();\r
 \r