projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cast some variable to corret size type.
[bertos.git]
/
bertos
/
drv
/
dataflash.h
diff --git
a/bertos/drv/dataflash.h
b/bertos/drv/dataflash.h
index 69f3217b233547599b6263a860b16d0e5728a5a1..e9ef00af9a37be0c956d7b03d41d5e5f98fd0f0e 100644
(file)
--- a/
bertos/drv/dataflash.h
+++ b/
bertos/drv/dataflash.h
@@
-32,8
+32,8
@@
*
* \brief Function library for AT45DB081D Flash memory.
*
*
* \brief Function library for AT45DB081D Flash memory.
*
- *
* \version $Id: dataflash.h 20677 2008-02-19 14:29:52Z batt $
* \version $Id: dataflash.h 20677 2008-02-19 14:29:52Z batt $
+ *
* \author Daniele Basile <asterix@develer.com>
*/
* \author Daniele Basile <asterix@develer.com>
*/
@@
-41,9
+41,10
@@
#ifndef DRV_DATAFLASH_H
#define DRV_DATAFLASH_H
#ifndef DRV_DATAFLASH_H
#define DRV_DATAFLASH_H
-#include <kern/kfile.h>
#include <cfg/compiler.h>
#include <cfg/compiler.h>
+#include <kern/kfile.h>
+
/**
* Type definitions for dflash memory.
* \{
/**
* Type definitions for dflash memory.
* \{
@@
-69,9
+70,10
@@
typedef void (dataflash_setCS_t)(bool);
*/
typedef enum DataflashType
{
*/
typedef enum DataflashType
{
- DFT_AT45DB041B,
+ DFT_AT45DB041B
= 0
,
DFT_AT45DB081D,
DFT_AT45DB161D,
DFT_AT45DB081D,
DFT_AT45DB161D,
+ DFT_AT45DB642D,
DFT_CNT
} DataflashType;
DFT_CNT
} DataflashType;