*/
-#include "hw_phase.h"
+#include "hw/hw_phase.h"
#include <cfg/macros.h>
#include <cfg/compiler.h>
#include <math.h>
-#warning FIXME:Generalize this moduele for all target supported.
+#warning TODO:Generalize this moduele for all target supported.
+#if 0
/** Array of triacs */
static Triac triacs[TRIAC_CNT];
*/
void phase_setDuty(TriacDev dev, triac_duty_t duty)
{
- cpuflags_t flags;
+ cpu_flags_t flags;
IRQ_SAVE_DISABLE(flags);
phase_setDutyUnlock(dev,duty);
*/
void phase_init(void)
{
- cpuflags_t flags;
+ cpu_flags_t flags;
TriacDev dev;
/* Init timers and ensure that all triac are off */
DB(phase_initialized = true;)
IRQ_RESTORE(flags);
}
+#endif
+