Fix comment and add wizard info.
[bertos.git] / bertos / drv / thermo.c
index 3a535fb98ef4b4888cc2594d6b9c2b346a8ede96..db395210f449d1c184f3ef48e9754bdfba51db02 100644 (file)
@@ -38,7 +38,7 @@
  * \author Francesco Sacchi <batt@develer.com>
  */
 
-#include "thermo_map.h"
+#include "hw/thermo_map.h"
 #include "hw/hw_thermo.h"
 
 #include <cfg/module.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);
 }