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