!68 【轻量级 PR】:update apps/shell/src/shmsg.c.
Merge pull request !68 from 冷钦街/N/A
This commit is contained in:
commit
f890dc8473
|
@ -577,7 +577,7 @@ int ShellTaskInit(ShellCB *shellCB)
|
||||||
|
|
||||||
static int ShellKernelReg(unsigned int shellHandle)
|
static int ShellKernelReg(unsigned int shellHandle)
|
||||||
{
|
{
|
||||||
return ioctl(0, CONSOLE_CONTROL_REG_USERTASK, shellHandle);
|
return ioctl(STDIN_FILENO, CONSOLE_CONTROL_REG_USERTASK, shellHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *ShellEntry(void *argv)
|
void *ShellEntry(void *argv)
|
||||||
|
|
Loading…
Reference in New Issue