Skip to content

Commit ecb226f

Browse files
committed
clean code in bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2577 bbd45198-f89e-11dd-88c7-29a3b14d5316
1 parent e10d628 commit ecb226f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bsp/simulator/applications/application.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
void rt_init_thread_entry(void *parameter)
2222
{
2323
#ifdef RT_USING_LWIP
24-
2524
pcap_netif_hw_init();
2625
#endif
2726

bsp/simulator/rtconfig.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104

105105
/* SECTION: device file system */
106106
#define RT_USING_DFS
107+
#define DFS_FILESYSTEM_TYPES_MAX 8
107108

108109
/* DFS: ELM FATFS options */
109110
#define RT_USING_DFS_ELMFAT
@@ -118,16 +119,16 @@
118119
#define RT_DFS_ELM_MAX_SECTOR_SIZE 512
119120

120121
/* DFS: network file system options */
121-
#define RT_USING_DFS_NFS
122+
/* #define RT_USING_DFS_NFS */
122123

123-
/* DFS: uffs nand file system options */
124+
/* DFS: UFFS nand file system options */
124125
#define RT_USING_DFS_UFFS
125126
/* configuration for uffs, more to see dfs_uffs.h and uffs_config.h */
126127
#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_HW_AUTO
127128
/* enable this ,you need provide a mark_badblock/check_block function */
128-
//#define RT_UFFS_USE_CHECK_MARK_FUNCITON
129+
/* #define RT_UFFS_USE_CHECK_MARK_FUNCITON */
129130

130-
/* DFS: uffs nor flash file system options */
131+
/* DFS: JFFS2 nor flash file system options */
131132
#define RT_USING_DFS_JFFS2
132133

133134
/* DFS: windows share directory mounted to rt-thread/dfs */

0 commit comments

Comments
 (0)