X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Fphase.h;h=465477a3551877c6f30a900296fe73da5a5292d4;hb=8b2b3759daf3222963cbb3cd4364fef556622e87;hp=199832b3bd9650cfdc4ad0c8e0fb29e90b85139b;hpb=6184365e21d54c0e1f3461a45aaee4ad64558d77;p=bertos.git diff --git a/bertos/drv/phase.h b/bertos/drv/phase.h index 199832b3..465477a3 100644 --- a/bertos/drv/phase.h +++ b/bertos/drv/phase.h @@ -36,10 +36,9 @@ * \version $Id$ * \author Francesco Sacchi * - * $WIZARD_MODULE = { - * "name" : "phase", - * "depends" : ["timer"], - * "configuration" : "bertos/cfg/cfg_phase.h" + * $WIZ$ module_name = "phase" + * $WIZ$ module_depends = "timer" + * $WIZ$ module_configuration = "bertos/cfg/cfg_phase.h" * } */ @@ -52,7 +51,7 @@ #include -#define TRIAC_POWER_K TRIAC_MAX_DUTY * (1 / sqrt(2 * TRIAC_MAX_POWER)) +#define TRIAC_POWER_K CONFIG_TRIAC_MAX_DUTY * (1 / sqrt(2 * CONFIG_TRIAC_MAX_POWER)) /** * \name Types for duty and power.