projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct exception for toolchains that don't have the right attributes
[bertos.git]
/
bertos
/
drv
/
phase.h
diff --git
a/bertos/drv/phase.h
b/bertos/drv/phase.h
index 199832b3bd9650cfdc4ad0c8e0fb29e90b85139b..465477a3551877c6f30a900296fe73da5a5292d4 100644
(file)
--- a/
bertos/drv/phase.h
+++ b/
bertos/drv/phase.h
@@
-36,10
+36,9
@@
* \version $Id$
* \author Francesco Sacchi <batt@develer.com>
*
* \version $Id$
* \author Francesco Sacchi <batt@develer.com>
*
- * $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 <drv/timer.h>
#include <drv/timer.h>
-#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.
/**
* \name Types for duty and power.