projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable kernel heap (needs to be refactored).
[bertos.git]
/
bertos
/
drv
/
phase.c
diff --git
a/bertos/drv/phase.c
b/bertos/drv/phase.c
index 8a64c708ef42a89d9e5a2653e5c534d8f7dc68f5..27ae92fe696d4a4637cca35a6a86f713a8cc9cb1 100644
(file)
--- a/
bertos/drv/phase.c
+++ b/
bertos/drv/phase.c
@@
-36,20
+36,23
@@
* \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 TODO:Generalize this moduele for all target supported.
+
+#if 0
/** Array of triacs */
static Triac triacs[TRIAC_CNT];
/** Array of triacs */
static Triac triacs[TRIAC_CNT];
@@
-189,3
+192,5
@@
void phase_init(void)
DB(phase_initialized = true;)
IRQ_RESTORE(flags);
}
DB(phase_initialized = true;)
IRQ_RESTORE(flags);
}
+#endif
+