mirror of https://github.com/RT-Thread/rt-thread
fix some compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2543 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
e1e948a33e
commit
c84d99706f
|
@ -166,7 +166,7 @@ const char* finsh_get_device()
|
||||||
void finsh_set_echo(rt_uint32_t echo)
|
void finsh_set_echo(rt_uint32_t echo)
|
||||||
{
|
{
|
||||||
RT_ASSERT(shell != RT_NULL);
|
RT_ASSERT(shell != RT_NULL);
|
||||||
shell->echo_mode = echo;
|
shell->echo_mode = (rt_uint8_t)echo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -57,7 +57,7 @@ struct finsh_shell
|
||||||
rt_uint8_t use_history:1;
|
rt_uint8_t use_history:1;
|
||||||
|
|
||||||
#ifdef FINSH_USING_HISTORY
|
#ifdef FINSH_USING_HISTORY
|
||||||
rt_uint8_t current_history;
|
rt_uint16_t current_history;
|
||||||
rt_uint16_t history_count;
|
rt_uint16_t history_count;
|
||||||
|
|
||||||
char cmd_history[FINSH_HISTORY_LINES][FINSH_CMD_SIZE];
|
char cmd_history[FINSH_HISTORY_LINES][FINSH_CMD_SIZE];
|
||||||
|
|
|
@ -31,10 +31,11 @@ extern void lwip_system_init(void);
|
||||||
|
|
||||||
#ifdef RT_USING_DFS
|
#ifdef RT_USING_DFS
|
||||||
#include <dfs_init.h>
|
#include <dfs_init.h>
|
||||||
|
#include <dfs_fs.h>
|
||||||
#ifdef RT_USING_DFS_ELMFAT
|
#ifdef RT_USING_DFS_ELMFAT
|
||||||
#include <dfs_elm.h>
|
#include <dfs_elm.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef RT_USING_DFS_NFS
|
#if defined(RT_USING_LWIP) && defined(RT_USING_DFS_NFS)
|
||||||
#include <dfs_nfs.h>
|
#include <dfs_nfs.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef RT_USING_DFS_ROMFS
|
#ifdef RT_USING_DFS_ROMFS
|
||||||
|
|
Loading…
Reference in New Issue