|
@@ -86,7 +86,7 @@ static char finsh_getchar(void)
|
|
|
{
|
|
|
RT_ASSERT(shell != RT_NULL);
|
|
|
|
|
|
-#ifdef RT_USING_DFS
|
|
|
+#ifdef RT_USING_POSIX_STDIN
|
|
|
return getchar();
|
|
|
#else
|
|
|
char ch;
|
|
@@ -98,7 +98,7 @@ static char finsh_getchar(void)
|
|
|
#endif
|
|
|
}
|
|
|
|
|
|
-#ifndef RT_USING_DFS
|
|
|
+#ifndef RT_USING_POSIX_STDIN
|
|
|
static rt_err_t finsh_rx_ind(rt_device_t dev, rt_size_t size)
|
|
|
{
|
|
|
RT_ASSERT(shell != RT_NULL);
|
|
@@ -421,7 +421,7 @@ void finsh_thread_entry(void *parameter)
|
|
|
finsh_init(&shell->parser);
|
|
|
#endif
|
|
|
|
|
|
-#ifndef RT_USING_DFS
|
|
|
+#ifndef RT_USING_POSIX_STDIN
|
|
|
/* set console device as shell device */
|
|
|
if (shell->device == RT_NULL)
|
|
|
{
|