diff options
| author | chenyingchun0312 <[email protected]> | 2021-06-28 11:12:09 +0800 |
|---|---|---|
| committer | chenyingchun0312 <[email protected]> | 2021-06-28 11:12:09 +0800 |
| commit | a1f2cdd4d6ce94da7c381dcab9534a7111b3f4ba (patch) | |
| tree | 55cbcec0f68c54f194d66bd34b48abe1c1eea891 /bsp | |
| parent | 670000dd0fae2ccf8c67821a8b551847810a6044 (diff) | |
[bsp/nrf5x] format drv_fs.c
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/nrf5x/libraries/drivers/drv_fs.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bsp/nrf5x/libraries/drivers/drv_fs.c b/bsp/nrf5x/libraries/drivers/drv_fs.c index 222d77e35f..1576139a06 100644 --- a/bsp/nrf5x/libraries/drivers/drv_fs.c +++ b/bsp/nrf5x/libraries/drivers/drv_fs.c @@ -33,13 +33,12 @@ #include "fal.h" #include <dfs_posix.h> -#define LOG_TAG "drv.fs" -#define DBG_LVL DBG_LOG +#define LOG_TAG "drv.fs" +#define DBG_LVL DBG_LOG #include <rtdbg.h> #define FS_PARTITION_NAME ON_CHIP_PARTION_NAME - /** * @brief on chip filesystem init * @param void @@ -49,7 +48,7 @@ static int on_chip_fs_init(void) { int result = 0; - + fal_init(); struct rt_device *flash_dev = fal_mtd_nor_device_create(FS_PARTITION_NAME); |
