X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fthermo.c;h=db395210f449d1c184f3ef48e9754bdfba51db02;hb=2c60cf261046a474553ccdf2c4c3f3b073066544;hp=f9dd86cf281791f51a1ec504b8f83dd4f1ee0c6e;hpb=a5fdf78b7671975a529c0f6dcf085a275241a9f3;p=bertos.git diff --git a/bertos/drv/thermo.c b/bertos/drv/thermo.c index f9dd86cf..db395210 100644 --- a/bertos/drv/thermo.c +++ b/bertos/drv/thermo.c @@ -38,17 +38,17 @@ * \author Francesco Sacchi */ -#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. */ @@ -259,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); }