X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fdataflash.c;h=573bea1e0f6c9130127589f963e7f072f622bfe1;hb=56f596e5c60e6b64fa30b6e704d97735030ef0c0;hp=cf639e7652c448fef35254afc1e6dde4c7c98479;hpb=706954ecdc8313eb3dd0a23190ae9d12cd4392a3;p=bertos.git 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 */