Browse Source

Fixed typo: 'wirte' in uffs_nandif.c

Note that the word 'wirte' is wrong,
so that 'wirte' should been replaced with 'write'.
David Lin 5 years ago
parent
commit
8e19bec11b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/dfs/filesystems/uffs/uffs_nandif.c

+ 2 - 2
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,