瀏覽代碼

Fixed typo 'WirtePageWithLayout' in uffs

WirtePageWithLayout ->WritePageWithLayout
David Lin 5 年之前
父節點
當前提交
ec20c2c7ff
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      components/dfs/filesystems/uffs/src/example/flash-interface-example.c

+ 4 - 4
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()
 };