mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-26 17:00:00 +08:00
[bsp/nrf5x] format drv_fs.c
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user