From 00bc8478ab5087769fc67e52327934370ee5e3a6 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 9 Feb 2009 14:13:06 +0000 Subject: [PATCH] Comply to cfg name. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2332 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_phase.h | 4 ++-- bertos/drv/phase.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bertos/cfg/cfg_phase.h b/bertos/cfg/cfg_phase.h index f80b1ed0..53d94c0e 100644 --- a/bertos/cfg/cfg_phase.h +++ b/bertos/cfg/cfg_phase.h @@ -40,9 +40,9 @@ #define CFG_PHASE_H /// Max value of the duty cycle on triac. $WIZARD = { "type" : "int" } -#define TRIAC_MAX_DUTY 100 +#define CONFIG_TRIAC_MAX_DUTY 100 /// Max value of the triac power. $WIZARD = { "type" : "int" } -#define TRIAC_MAX_POWER 100 +#define CONFIG_TRIAC_MAX_POWER 100 #endif /* CFG_PHASE_H */ diff --git a/bertos/drv/phase.h b/bertos/drv/phase.h index 199832b3..e15f7d3d 100644 --- a/bertos/drv/phase.h +++ b/bertos/drv/phase.h @@ -52,7 +52,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. -- 2.25.1