projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add boilerplate for hw peripherals.
[bertos.git]
/
bertos
/
drv
/
phase.c
diff --git
a/bertos/drv/phase.c
b/bertos/drv/phase.c
index e30f46681e2694a562dc537ec21807df9ed9df72..39eadf470cda0bd456595a95863173ce6ece4d49 100644
(file)
--- a/
bertos/drv/phase.c
+++ b/
bertos/drv/phase.c
@@
-29,28
+29,29
@@
* Copyright 2005 Develer S.r.l. (http://www.develer.com/)
* -->
*
* Copyright 2005 Develer S.r.l. (http://www.develer.com/)
* -->
*
- * \version $Id$
- *
* \brief Phase control driver (implementation)
*
* \version $Id$
* \brief Phase control driver (implementation)
*
* \version $Id$
+ *
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Francesco Sacchi <batt@develer.com>
*/
-#include <drv/timer.h>
+#include <hw/hw_phase.h>
#include <cfg/macros.h>
#include <cfg/macros.h>
-#include <cpu/irq.h>
-#include <cpu/types.h>
#include <cfg/compiler.h>
#include <cfg/compiler.h>
+#include <cpu/irq.h>
+#include <cpu/types.h>
-#include <
hw_phase
.h>
+#include <
drv/timer
.h>
#include <drv/phase.h>
#include <math.h>
#include <drv/phase.h>
#include <math.h>
+#warning FIXME:Generalize this moduele for all target supported.
+
/** Array of triacs */
static Triac triacs[TRIAC_CNT];
/** Array of triacs */
static Triac triacs[TRIAC_CNT];