X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fdataflash.h;h=a60f30eaebd7858dfb0b0f1fc33e9efbf7b43166;hb=911d2706a86d326786bfe721dcc3d63aeade7f28;hp=e8ecd4e940eacdf40037acc50463e2c5a45b87a0;hpb=b90e284547eab472e3d9e478a058304bdd6b2da7;p=bertos.git diff --git a/bertos/drv/dataflash.h b/bertos/drv/dataflash.h index e8ecd4e9..a60f30ea 100644 --- a/bertos/drv/dataflash.h +++ b/bertos/drv/dataflash.h @@ -39,7 +39,7 @@ * $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" */ @@ -48,7 +48,7 @@ #include -#include +#include #include /** @@ -197,7 +197,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);