projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the bug related to the empty version list
[bertos.git]
/
bertos
/
drv
/
tc520.c
diff --git
a/bertos/drv/tc520.c
b/bertos/drv/tc520.c
index 615a94e08f3c88c818b26b75a394f9cc857493ad..f285f850ac1b597ec5c46e450b5a935d74ba905d 100644
(file)
--- a/
bertos/drv/tc520.c
+++ b/
bertos/drv/tc520.c
@@
-29,23
+29,28
@@
* Copyright 2005 Develer S.r.l. (http://www.develer.com/)
* -->
*
* Copyright 2005 Develer S.r.l. (http://www.develer.com/)
* -->
*
- * \version $Id$
*
* \brief TC520 ADC driver (implementation)
*
* \version $Id$
*
* \brief TC520 ADC driver (implementation)
*
* \version $Id$
+ *
* \author Francesco Sacchi <batt@develer.com>
* \author Marco Benelli <marco@develer.com>
*/
* \author Francesco Sacchi <batt@develer.com>
* \author Marco Benelli <marco@develer.com>
*/
-#include <drv/tc520.h>
-#include <drv/timer.h>
-#include
<hw_tc520.h>
+#include
"hw/hw_tc520.h"
#include <cfg/macros.h>
#include <cfg/compiler.h>
#include <cfg/macros.h>
#include <cfg/compiler.h>
+#include <drv/tc520.h>
+#include <drv/timer.h>
+
+#warning FIXME:This implementation is obsolete. Refactor with KFile interface.
+
+#if 0
+
#include <drv/ser.h>
static Serial *spi_ser;
#include <drv/ser.h>
static Serial *spi_ser;
@@
-160,3
+165,5
@@
void tc520_init(Serial *spi_port)
ser_drain(spi_ser);
LOAD_HIGH();
}
ser_drain(spi_ser);
LOAD_HIGH();
}
+
+#endif