X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fphase.c;h=27ae92fe696d4a4637cca35a6a86f713a8cc9cb1;hb=b0f0b3a926d4cb1e8d65b1eca28f37acba9e6016;hp=8a64c708ef42a89d9e5a2653e5c534d8f7dc68f5;hpb=bdc388981b38532c41faa398da07c1a9f36aaa73;p=bertos.git diff --git a/bertos/drv/phase.c b/bertos/drv/phase.c index 8a64c708..27ae92fe 100644 --- a/bertos/drv/phase.c +++ b/bertos/drv/phase.c @@ -36,20 +36,23 @@ * \author Francesco Sacchi */ -#include +#include "hw/hw_phase.h" #include -#include -#include #include +#include +#include -#include +#include #include #include +#warning TODO:Generalize this moduele for all target supported. + +#if 0 /** Array of triacs */ static Triac triacs[TRIAC_CNT]; @@ -189,3 +192,5 @@ void phase_init(void) DB(phase_initialized = true;) IRQ_RESTORE(flags); } +#endif +