mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet server.
This commit is contained in:
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…
Reference in a new issue