X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fthermo.c;h=db395210f449d1c184f3ef48e9754bdfba51db02;hb=c5478437ae3b87dd00978e2644d635559e0a1f92;hp=fb8cbb7958ccda1bedc1a59444bcd58534118b18;hpb=791e167e053bdd9250d34a9a5ccae6ccde4d6679;p=bertos.git diff --git a/bertos/drv/thermo.c b/bertos/drv/thermo.c index fb8cbb79..db395210 100644 --- a/bertos/drv/thermo.c +++ b/bertos/drv/thermo.c @@ -38,27 +38,17 @@ * \author Francesco Sacchi */ -/*#* - *#* $Log$ - *#* Revision 1.3 2006/09/20 20:12:41 marco - *#* Names convention, MOD_* macros. - *#* - *#* Revision 1.2 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.1 2005/11/04 17:59:47 bernie - *#* Import into DevLib. - *#* - *#*/ -#include -#include +#include "hw/thermo_map.h" +#include "hw/hw_thermo.h" + +#include +#include +#include #include #include #include -#include -#include /** Interval at which thermo control is performed. */ @@ -269,6 +259,6 @@ void thermo_init(void) MOD_INIT(thermo); timer_setDelay(&thermo_timer, ms_to_ticks(THERMO_INTERVAL_MS)); - timer_set_event_softint(&thermo_timer, (Hook)thermo_softint, 0); + timer_setSoftint(&thermo_timer, (Hook)thermo_softint, 0); timer_add(&thermo_timer); }