From ec20c2c7ff27de443ce61c432e78a03ef02cf066 Mon Sep 17 00:00:00 2001 From: David Lin Date: Fri, 21 Feb 2020 21:37:05 +0800 Subject: [PATCH] Fixed typo 'WirtePageWithLayout' in uffs WirtePageWithLayout ->WritePageWithLayout --- .../uffs/src/example/flash-interface-example.c | 8 ++++---- 1 file 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() };