projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor countFileSize to return the size directly.
[bertos.git]
/
bertos
/
drv
/
thermo.c
diff --git
a/bertos/drv/thermo.c
b/bertos/drv/thermo.c
index 3a535fb98ef4b4888cc2594d6b9c2b346a8ede96..db395210f449d1c184f3ef48e9754bdfba51db02 100644
(file)
--- a/
bertos/drv/thermo.c
+++ b/
bertos/drv/thermo.c
@@
-38,7
+38,7
@@
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Francesco Sacchi <batt@develer.com>
*/
-#include "thermo_map.h"
+#include "
hw/
thermo_map.h"
#include "hw/hw_thermo.h"
#include <cfg/module.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));
MOD_INIT(thermo);
timer_setDelay(&thermo_timer, ms_to_ticks(THERMO_INTERVAL_MS));
- timer_set
_event_s
oftint(&thermo_timer, (Hook)thermo_softint, 0);
+ timer_set
S
oftint(&thermo_timer, (Hook)thermo_softint, 0);
timer_add(&thermo_timer);
}
timer_add(&thermo_timer);
}