X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fhw%2Fthermo_map.h;h=7dbe27bc5ae381c9e4983fd800c77961643f8ad7;hb=470f5cb37d5adce8fa5efd0092b2885528d7fb32;hp=4376076acc3e6d4f79a02d22e6830ae0a79e74d3;hpb=107743ef422de7a4c926a20ff87eee1515eb1987;p=bertos.git diff --git a/bertos/hw/thermo_map.h b/bertos/hw/thermo_map.h index 4376076a..7dbe27bc 100644 --- a/bertos/hw/thermo_map.h +++ b/bertos/hw/thermo_map.h @@ -32,8 +32,6 @@ * * \brief Thermo regulation control map definitions. * - * \version $Id$ - * * \author Francesco Sacchi */ @@ -43,20 +41,8 @@ #include #include -#warning TODO:This is an example implentation, you must implement it! - -typedef uint8_t thermostatus_t; -#define THERMO_OFF 0 -#define THERMO_HEATING BV(0) -#define THERMO_FREEZING BV(1) -#define THERMO_TGT_REACH BV(2) -#define THERMOERRF_NTCSHORT BV(3) -#define THERMOERRF_NTCOPEN BV(4) -#define THERMOERRF_TIMEOUT BV(5) -#define THERMO_ACTIVE BV(6) - -#define THERMO_ERRMASK (THERMOERRF_NTCSHORT | THERMOERRF_NTCOPEN | THERMOERRF_TIMEOUT) +#warning TODO:This is an example implentation, you must implement it! typedef enum ThermoDev { @@ -64,7 +50,7 @@ typedef enum ThermoDev /* Put here your thermo device */ - THERMO_CNT, + THERMO_CNT } ThermoDev; #endif /* THERMO_MAP_H */