Fixed compiler warning.
This commit is contained in:
parent
f7fb633e2b
commit
662c2253bd
|
@ -473,7 +473,7 @@ int DbgConsole_Scanf(char *fmt_ptr, ...)
|
|||
/* See fsl_debug_console.h for documentation of this function. */
|
||||
int DbgConsole_Getchar(void)
|
||||
{
|
||||
char ch;
|
||||
char ch = '\0';
|
||||
/* Do nothing if the debug UART is not initialized. */
|
||||
if (s_debugConsole.type == DEBUG_CONSOLE_DEVICE_TYPE_NONE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue