projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comply to cfg name.
[bertos.git]
/
bertos
/
drv
/
mcp41.c
diff --git
a/bertos/drv/mcp41.c
b/bertos/drv/mcp41.c
index c8ddf0b79183423cbb945d426ea78834a45bf9e8..ede899f7f4ba75222b5838b22d25224c143301cc 100644
(file)
--- a/
bertos/drv/mcp41.c
+++ b/
bertos/drv/mcp41.c
@@
-36,17
+36,18
@@
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Francesco Sacchi <batt@develer.com>
*/
-#include
<drv/timer.h>
+#include
"hw/hw_mcp41.h"
#include <cfg/macros.h>
#include <cfg/compiler.h>
#include <cfg/macros.h>
#include <cfg/compiler.h>
-#include <
hw_mcp41
.h>
+#include <
drv/timer
.h>
#include <drv/mcp41.h>
#include <drv/ser.h>
#warning FIXME:This implementation is obsolete. Refactor with KFile interface.
#include <drv/mcp41.h>
#include <drv/ser.h>
#warning FIXME:This implementation is obsolete. Refactor with KFile interface.
+#if 0
static Serial *spi_ser;
/**
static Serial *spi_ser;
/**
@@
-80,3
+81,5
@@
void mcp41_init(Serial *spi_port)
spi_ser = spi_port;
}
spi_ser = spi_port;
}
+
+#endif