diff --git a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c index ae86f7f16a600bcbe8d03b40d22d148d445a2f78..31fbb28c95b7781305bff1980eaea6eb744ab976 100644 --- a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c +++ b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_hw_auto.c @@ -344,13 +344,13 @@ ext: uffs_FlashOps g_femu_ops_ecc_hw_auto = { - femu_hw_auto_InitFlash, // InitFlash() - femu_ReleaseFlash, // ReleaseFlash() - NULL, // ReadPage() + femu_hw_auto_InitFlash, // InitFlash() + femu_ReleaseFlash, // ReleaseFlash() + NULL, // ReadPage() femu_hw_auto_ReadPageWithLayout, // ReadPageWithLayout() - NULL, // WritePage() - femu_hw_auto_WritePageWithLayout, // WirtePageWithLayout() - NULL, // IsBadBlock(), let UFFS take care of it. - NULL, // MarkBadBlock(), let UFFS take care of it. + NULL, // WritePage() + femu_hw_auto_WritePageWithLayout, // WritePageWithLayout() + NULL, // IsBadBlock(), let UFFS take care of it. + NULL, // MarkBadBlock(), let UFFS take care of it. femu_EraseBlock, // EraseBlock() }; diff --git a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c index f6570661456fa57ed5c693ae0f470410f2a79a7f..0a24c1cf3b69a719587d04874ffabca1d3e644fc 100644 --- a/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c +++ b/components/dfs/filesystems/uffs/src/emu/uffs_fileem_ecc_soft.c @@ -203,10 +203,10 @@ uffs_FlashOps g_femu_ops_ecc_soft = { femu_InitFlash, // InitFlash() femu_ReleaseFlash, // ReleaseFlash() femu_ReadPage, // ReadPage() - NULL, // ReadPageWithLayout + NULL, // ReadPageWithLayout femu_WritePage, // 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. femu_EraseBlock, // EraseBlock() }; 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 9a6e00826218c8f18364216f0ef4408aa58d200e..ff26beb281816d359edfac5741822253e201b308 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() };