From 95041d1f0f4d90910c990f23143d0d652ea690c1 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 6 Feb 2009 17:12:49 +0000 Subject: [PATCH] Add cfg file and fix comment. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2314 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_ntc.h | 47 ++++++++++++++++++++++++++++++++++++++++++++ bertos/drv/ntc.h | 2 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 bertos/cfg/cfg_ntc.h diff --git a/bertos/cfg/cfg_ntc.h b/bertos/cfg/cfg_ntc.h new file mode 100644 index 00000000..9566bd7f --- /dev/null +++ b/bertos/cfg/cfg_ntc.h @@ -0,0 +1,47 @@ +/** + * \file + * + * + * \brief Configuration file for phase module. + * + * \version $Id$ + * \author Daniele Basile + */ + +#ifndef CFG_NTC_H +#define CFG_NTC_H + +///< Max value of the dsty cycle on triac. $WIZARD = { "type" : "int" } +#define NTC_OPEN_CIRCUIT -3s768 +///< Max value of the triac power. $WIZARD = { "type" : "int" } +#define NTC_SHORT_CIRCUIT 32767 + +#endif /* CFG_NTC_H */ diff --git a/bertos/drv/ntc.h b/bertos/drv/ntc.h index ad370e91..70139e17 100644 --- a/bertos/drv/ntc.h +++ b/bertos/drv/ntc.h @@ -30,7 +30,7 @@ * All Rights Reserved. * --> * - * \brief Driver for NTC (reads a temperature through an ADC) + * \brief Driver for NTC sensors (reads a temperature through an ADC) * * \version $Id$ * -- 2.25.1