X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fdataflash.h;h=90dac59c52768bee88394ec12804fdc375556d75;hb=2053cc3e6aa26c20a8511ad7148dd704b8e0891e;hp=cee0a88376ffaba18654342fa56bc73ea16170dc;hpb=9e36a745875532b61d8b51493db5465941573edd;p=bertos.git diff --git a/bertos/drv/dataflash.h b/bertos/drv/dataflash.h index cee0a883..90dac59c 100644 --- a/bertos/drv/dataflash.h +++ b/bertos/drv/dataflash.h @@ -30,17 +30,15 @@ * * --> * - * \brief Function library for dataflash AT45DB family (interface). + * \brief Function library for dataflash AT45DB family. * - * \version $Id: dataflash.h 21658 2008-06-05 16:42:54Z asterix $ * * \author Daniele Basile * - * $WIZARD_MODULE = { - * "name" : "dataflash", - * "depends" : ["kfile"], - * "configuration" : "bertos/cfg/cfg_dataflash.h" - * } + * $WIZ$ module_name = "dataflash" + * $WIZ$ module_depends = "kfile" + * $WIZ$ module_configuration = "bertos/cfg/cfg_dataflash.h" + * $WIZ$ module_hw = "bertos/hw/hw_dataflash.h", "bertos/hw/hw_dataflash.c" */ @@ -49,7 +47,7 @@ #include -#include +#include #include /** @@ -198,7 +196,9 @@ bool dataflash_diskInit(struct BattFsSuper *d, DataFlash *fd, pgcnt_t *page_arra * * (see drv/datafalsh_test.c for more detail) */ -int dataflash_testSetUp(void); +int dataflash_testSetup(void); +/* For backward compatibility */ +#define dataflash_testSetUp() dataflash_testSetup() int dataflash_testRun(void); int dataflash_testTearDown(void);