Typo: swap paraemters.
[bertos.git] / drv / dataflash.h
index e4f635088fc43a0b6925843ae832166d4a0f9290..c49b9acd0a61fa257fc072991c178b129993930c 100644 (file)
 
 #include <appconfig.h>
 
+#warning This driver must be test before use!
+
 /**
  * Type definition for dflash memory.
  */
 typedef uint32_t dataflashAddr_t;
+typedef uint32_t dataflashOffset_t;
 typedef uint32_t dataflashSize_t;
 
 #define RESET_PULSE_WIDTH     10 // Width of reset pulse in usec.
@@ -200,7 +203,8 @@ typedef enum {
        /* \}*/
 } DataFlashOpcode;
 
-void dataflash_init(struct _KFile *fd)
+void dataflash_init(struct _KFile *fd);
+void dataflash_test(void);
 
 #endif /* DRV_DATAFLASH_H */