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 f9dd86cf281791f51a1ec504b8f83dd4f1ee0c6e..db395210f449d1c184f3ef48e9754bdfba51db02 100644
(file)
--- a/
bertos/drv/thermo.c
+++ b/
bertos/drv/thermo.c
@@
-38,17
+38,17
@@
* \author Francesco Sacchi <batt@develer.com>
*/
* \author Francesco Sacchi <batt@develer.com>
*/
-#include
<hw/thermo_map.h>
-#include
<hw/hw_thermo.h>
+#include
"hw/thermo_map.h"
+#include
"hw/hw_thermo.h"
#include <cfg/module.h>
#include <cfg/module.h>
+#include <cfg/macros.h>
+#include <cfg/debug.h>
#include <drv/thermo.h>
#include <drv/timer.h>
#include <drv/ntc.h>
#include <drv/thermo.h>
#include <drv/timer.h>
#include <drv/ntc.h>
-#include <cfg/macros.h>
-#include <cfg/debug.h>
/** Interval at which thermo control is performed. */
/** Interval at which thermo control is performed. */
@@
-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);
}