projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the getString function
[bertos.git]
/
bertos
/
drv
/
mcp41.c
diff --git
a/bertos/drv/mcp41.c
b/bertos/drv/mcp41.c
index 12c566f5b2e71236db578032fcda8924ab70c435..ede899f7f4ba75222b5838b22d25224c143301cc 100644
(file)
--- a/
bertos/drv/mcp41.c
+++ b/
bertos/drv/mcp41.c
@@
-29,7
+29,6
@@
* Copyright 2005 Develer S.r.l. (http://www.develer.com/)
* -->
*
* Copyright 2005 Develer S.r.l. (http://www.develer.com/)
* -->
*
- * \version $Id$
*
* \brief MCP41xxx digital potentiomenter driver (implementation)
*
*
* \brief MCP41xxx digital potentiomenter driver (implementation)
*
@@
-37,15
+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>
#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;
/**
@@
-79,3
+81,5
@@
void mcp41_init(Serial *spi_port)
spi_ser = spi_port;
}
spi_ser = spi_port;
}
+
+#endif