提交 9bb00531 编写于 作者: wuyangyong's avatar wuyangyong

fixed uninitialized variable.

上级 f71555ec
...@@ -182,7 +182,7 @@ int dfs_elm_mkfs(rt_device_t dev_id) ...@@ -182,7 +182,7 @@ int dfs_elm_mkfs(rt_device_t dev_id)
{ {
#define FSM_STATUS_INIT 0 #define FSM_STATUS_INIT 0
#define FSM_STATUS_USE_TEMP_DRIVER 1 #define FSM_STATUS_USE_TEMP_DRIVER 1
FATFS *fat; FATFS *fat = RT_NULL;
int flag; int flag;
FRESULT result; FRESULT result;
int index; int index;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册