fix bug about the letter shell can`t be used in board rzg2ul

This commit is contained in:
anguoyoula 2024-03-06 13:45:33 +08:00
parent 9327b70860
commit fb8c81c9f2
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
#include "xsconfig.h"
#include <device.h>
#ifdef BOARD_RZV2L_M33
#if defined(BOARD_RZV2L_M33) || defined(BOARD_RZG2UL_M33)
#include <console.h>
#endif
@ -119,7 +119,7 @@ int userShellInit(void)
shell.write = userShellWrite;
shell.read = userShellRead;
#ifdef BOARD_RZV2L_M33
#if defined(BOARD_RZV2L_M33) || defined(BOARD_RZG2UL_M33)
#else
console = ObtainConsole();