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 f657066145..0a24c1cf3b 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() };