Improvement to UARTCommandConsole.c (FreeRTOS#548) (#1147)

- Removed the function scope 'xPort' variable within FreeRTOS+CLI task in order for task to use the static file scope 'xPort' variable.
- Added a prototype of vOutputString in UARTCommandConsole.c
pull/1138/head^2
dougwfoster 1 year ago committed by GitHub
parent bd56549a48
commit 0b5cd08665
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -69,6 +69,7 @@
static void prvUARTCommandConsoleTask( void * pvParameters );
void vUARTCommandConsoleStart( uint16_t usStackSize,
UBaseType_t uxPriority );
void vOutputString( const char * const pcMessage );
/*-----------------------------------------------------------*/
@ -110,7 +111,6 @@ static void prvUARTCommandConsoleTask( void * pvParameters )
char * pcOutputString;
static char cInputString[ cmdMAX_INPUT_SIZE ], cLastInputString[ cmdMAX_INPUT_SIZE ];
BaseType_t xReturned;
xComPortHandle xPort;
( void ) pvParameters;

Loading…
Cancel
Save