Add config option for calling schedule() from kbd_peek().
[bertos.git] / bertos / drv / thermo.c
index cfc1014f2211000002e4277df1ab3c9bbc2a2572..db395210f449d1c184f3ef48e9754bdfba51db02 100644 (file)
@@ -38,8 +38,8 @@
  * \author Francesco Sacchi <batt@develer.com>
  */
 
-#include "thermo_map.h"
-#include "hw_thermo.h"
+#include "hw/thermo_map.h"
+#include "hw/hw_thermo.h"
 
 #include <cfg/module.h>
 #include <cfg/macros.h>
@@ -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);
 }