Fixed typo: 'wirte' in uffs_nandif.c

Note that the word 'wirte' is wrong,
so that 'wirte' should been replaced with 'write'.
This commit is contained in:
David Lin 2020-02-16 20:08:36 +08:00 committed by GitHub
parent dd5178efdf
commit 8e19bec11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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,