提交 a1f2cdd4 编写于 作者: C chenyingchun0312

[bsp/nrf5x] format drv_fs.c

上级 670000dd
...@@ -33,13 +33,12 @@ ...@@ -33,13 +33,12 @@
#include "fal.h" #include "fal.h"
#include <dfs_posix.h> #include <dfs_posix.h>
#define LOG_TAG "drv.fs" #define LOG_TAG "drv.fs"
#define DBG_LVL DBG_LOG #define DBG_LVL DBG_LOG
#include <rtdbg.h> #include <rtdbg.h>
#define FS_PARTITION_NAME ON_CHIP_PARTION_NAME #define FS_PARTITION_NAME ON_CHIP_PARTION_NAME
/** /**
* @brief on chip filesystem init * @brief on chip filesystem init
* @param void * @param void
...@@ -49,7 +48,7 @@ ...@@ -49,7 +48,7 @@
static int on_chip_fs_init(void) static int on_chip_fs_init(void)
{ {
int result = 0; int result = 0;
fal_init(); fal_init();
struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册