fix bug about the letter shell can`t be used in board rzg2ul
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
#include "xsconfig.h"
|
#include "xsconfig.h"
|
||||||
#include <device.h>
|
#include <device.h>
|
||||||
|
|
||||||
#ifdef BOARD_RZV2L_M33
|
#if defined(BOARD_RZV2L_M33) || defined(BOARD_RZG2UL_M33)
|
||||||
#include <console.h>
|
#include <console.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ int userShellInit(void)
|
|||||||
shell.write = userShellWrite;
|
shell.write = userShellWrite;
|
||||||
shell.read = userShellRead;
|
shell.read = userShellRead;
|
||||||
|
|
||||||
#ifdef BOARD_RZV2L_M33
|
#if defined(BOARD_RZV2L_M33) || defined(BOARD_RZG2UL_M33)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
console = ObtainConsole();
|
console = ObtainConsole();
|
||||||
|
|||||||
Reference in New Issue
Block a user