X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fthermo.c;h=db395210f449d1c184f3ef48e9754bdfba51db02;hb=2ab79cb0c9069ed5084627954b6e2c3493a5c4af;hp=3a535fb98ef4b4888cc2594d6b9c2b346a8ede96;hpb=c22fe24a0da896a52dbc3882390ec18a440ef56a;p=bertos.git diff --git a/bertos/drv/thermo.c b/bertos/drv/thermo.c index 3a535fb9..db395210 100644 --- a/bertos/drv/thermo.c +++ b/bertos/drv/thermo.c @@ -38,7 +38,7 @@ * \author Francesco Sacchi */ -#include "thermo_map.h" +#include "hw/thermo_map.h" #include "hw/hw_thermo.h" #include @@ -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); }