summaryrefslogtreecommitdiff
path: root/components/dfs/filesystems/uffs/src/example/flash-interface-example.c
diff options
context:
space:
mode:
authorchenjh <[email protected]>2021-02-26 18:23:52 +0800
committerchenjh <[email protected]>2021-02-26 18:23:52 +0800
commit055c3d3e1d75fedac44ffb41943350d9844f5b7e (patch)
treeab7ee8660930048e93cc2dcc944db40c59f08b5d /components/dfs/filesystems/uffs/src/example/flash-interface-example.c
parent5f17cf9204e501d971cd28486e0a7193d2f1fae4 (diff)
[Update] Sync from v4.0.3
Diffstat (limited to 'components/dfs/filesystems/uffs/src/example/flash-interface-example.c')
-rw-r--r--components/dfs/filesystems/uffs/src/example/flash-interface-example.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/dfs/filesystems/uffs/src/example/flash-interface-example.c b/components/dfs/filesystems/uffs/src/example/flash-interface-example.c
index 9a6e008262..ff26beb281 100644
--- a/components/dfs/filesystems/uffs/src/example/flash-interface-example.c
+++ b/components/dfs/filesystems/uffs/src/example/flash-interface-example.c
@@ -292,11 +292,11 @@ static uffs_FlashOps g_my_nand_ops = {
nand_init_flash, // InitFlash()
nand_release_flash, // ReleaseFlash()
nand_read_page, // ReadPage()
- NULL, // ReadPageWithLayout
+ NULL, // ReadPageWithLayout
nand_write_page, // WritePage()
- NULL, // WirtePageWithLayout
- NULL, // IsBadBlock(), let UFFS take care of it.
- NULL, // MarkBadBlock(), let UFFS take care of it.
+ NULL, // WritePageWithLayout
+ NULL, // IsBadBlock(), let UFFS take care of it.
+ NULL, // MarkBadBlock(), let UFFS take care of it.
nand_erase_block, // EraseBlock()
};