From 56f596e5c60e6b64fa30b6e704d97735030ef0c0 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 1 Jul 2010 16:26:11 +0000 Subject: [PATCH] Disable old BattFS interface in dataflash. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3979 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/dataflash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bertos/drv/dataflash.c b/bertos/drv/dataflash.c index cf639e76..573bea1e 100644 --- a/bertos/drv/dataflash.c +++ b/bertos/drv/dataflash.c @@ -278,7 +278,7 @@ static void dataflash_loadPage(DataFlash *fd, dataflash_page_t page_addr) } /* Battfs disk interface section */ - +#if 0 static size_t dataflash_disk_page_read(struct BattFsSuper *d, pgcnt_t page, pgaddr_t addr, void *buf, size_t len) { DataFlash *fd = DATAFLASH_CAST((KFile *)d->disk_ctx); @@ -364,6 +364,7 @@ bool dataflash_diskInit(struct BattFsSuper *d, DataFlash *fd, pgcnt_t *page_arra d->page_array = page_array; return d->page_array && fd; } +#endif /* Kfile interface section */ -- 2.25.1