summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorDavid Lin <[email protected]>2020-02-16 20:08:36 +0800
committerGitHub <[email protected]>2020-02-16 20:08:36 +0800
commit8e19bec11bc581b8fc0de81c7152c9b04bc027fc (patch)
tree1185555caaab106c7ad6d21aa160308d4a75407f /components/dfs
parentdd5178efdfa8ad6943459c1284237509a78c3367 (diff)
Fixed typo: 'wirte' in uffs_nandif.c
Note that the word 'wirte' is wrong, so that 'wirte' should been replaced with 'write'.
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/filesystems/uffs/uffs_nandif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/dfs/filesystems/uffs/uffs_nandif.c b/components/dfs/filesystems/uffs/uffs_nandif.c
index 47cb88b6aa..2e1a981fba 100644
--- a/components/dfs/filesystems/uffs/uffs_nandif.c
+++ b/components/dfs/filesystems/uffs/uffs_nandif.c
@@ -135,7 +135,7 @@ const uffs_FlashOps nand_ops =
nand_read_page, /* ReadPage() */
NULL, /* ReadPageWithLayout */
nand_write_page, /* WritePage() */
- NULL, /* WirtePageWithLayout */
+ NULL, /* WritePageWithLayout */
#if defined(RT_UFFS_USE_CHECK_MARK_FUNCITON)
nand_check_block,
nand_mark_badblock,
@@ -302,7 +302,7 @@ const uffs_FlashOps nand_ops =
NULL, /* ReadPage() */
ReadPageWithLayout, /* ReadPageWithLayout */
NULL, /* WritePage() */
- WritePageWithLayout,/* WirtePageWithLayout */
+ WritePageWithLayout,/* WritePageWithLayout */
#if defined(RT_UFFS_USE_CHECK_MARK_FUNCITON)
nand_check_block,