projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add defines for avr target.
[bertos.git]
/
bertos
/
drv
/
dataflash.c
diff --git
a/bertos/drv/dataflash.c
b/bertos/drv/dataflash.c
index d9392f9aadb6db27088b7c5206417eaa54982c3a..0171cabb8f655f81297774d3a38c8ea97056a122 100644
(file)
--- a/
bertos/drv/dataflash.c
+++ b/
bertos/drv/dataflash.c
@@
-39,12
+39,13
@@
*/
#include "dataflash.h"
*/
#include "dataflash.h"
-#include <appconfig.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cfg/module.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cfg/module.h>
+
#include <drv/timer.h>
#include <drv/timer.h>
+
#include <kern/kfile.h>
#if CONFIG_KERNEL
#include <kern/kfile.h>
#if CONFIG_KERNEL
@@
-449,7
+450,7
@@
bool dataflash_init(KFileDataflash *fd, KFile *ch, DataflashType dev, dataflash_
{
uint8_t stat;
{
uint8_t stat;
- MOD_CHECK(
dataflash_hw
);
+ MOD_CHECK(
hw_dataflash
);
ASSERT(fd);
ASSERT(ch);
ASSERT(fd);
ASSERT(ch);