projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
dataflash.h
diff --git
a/bertos/drv/dataflash.h
b/bertos/drv/dataflash.h
index 43a345b40478780a51108a05d50a0760a3f9be96..90dac59c52768bee88394ec12804fdc375556d75 100644
(file)
--- a/
bertos/drv/dataflash.h
+++ b/
bertos/drv/dataflash.h
@@
-30,11
+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 <asterix@develer.com>
*
* \author Daniele Basile <asterix@develer.com>
+ *
+ * $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"
*/
*/
@@
-43,7
+47,7
@@
#include <cfg/compiler.h>
#include <cfg/compiler.h>
-#include <
kern
/kfile.h>
+#include <
io
/kfile.h>
#include <fs/battfs.h>
/**
#include <fs/battfs.h>
/**
@@
-192,7
+196,9
@@
bool dataflash_diskInit(struct BattFsSuper *d, DataFlash *fd, pgcnt_t *page_arra
*
* (see drv/datafalsh_test.c for more detail)
*/
*
* (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);
int dataflash_testRun(void);
int dataflash_testTearDown(void);