X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fdrv%2Fthermo.c;h=db395210f449d1c184f3ef48e9754bdfba51db02;hb=c5478437ae3b87dd00978e2644d635559e0a1f92;hp=d8e2742e6843bb4287594d59f71b236098e311a3;hpb=3fb609d60480eefd5e43d48d13cb9f387c38cb0f;p=bertos.git diff --git a/bertos/drv/thermo.c b/bertos/drv/thermo.c index d8e2742e..db395210 100644 --- a/bertos/drv/thermo.c +++ b/bertos/drv/thermo.c @@ -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); }