From: batt Date: Thu, 1 Jul 2010 16:26:11 +0000 (+0000) Subject: Disable old BattFS interface in dataflash. X-Git-Tag: 2.6.0~328 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=56f596e5c60e6b64fa30b6e704d97735030ef0c0;p=bertos.git Disable old BattFS interface in dataflash. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3979 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */