Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet server.

pull/4/head
Richard Barry 10 years ago
parent 18ff880e75
commit a61db8f155

@ -176,7 +176,7 @@ extern void vRegisterSampleCLICommands( void );
cInputString[ lInputIndex ] = '\0'; cInputString[ lInputIndex ] = '\0';
} }
} }
else else if( ( cInChar >= ' ' ) && ( cInChar <= 'z' ) )
{ {
/* A character was entered. Add it to the string /* A character was entered. Add it to the string
entered so far. When a \n is entered the complete entered so far. When a \n is entered the complete

@ -146,14 +146,9 @@ for the run time stats. */
static XTmrCtr xTickTimerInstance; static XTmrCtr xTickTimerInstance;
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
volatile uint32_t ulx = 999;
int main( void ) int main( void )
{ {
/* Check start up code executed correctly. */
configASSERT( ulx == 999 );
ulx = 0;
/* Configure the hardware ready to run the demo. */ /* Configure the hardware ready to run the demo. */
prvSetupHardware(); prvSetupHardware();

Loading…
Cancel
Save