projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comply to cfg name.
[bertos.git]
/
bertos
/
drv
/
thermo.c
diff --git
a/bertos/drv/thermo.c
b/bertos/drv/thermo.c
index db395210f449d1c184f3ef48e9754bdfba51db02..621f3baaa5f0118add62a7dd803ae3c64be7b008 100644
(file)
--- a/
bertos/drv/thermo.c
+++ b/
bertos/drv/thermo.c
@@
-41,6
+41,8
@@
#include "hw/thermo_map.h"
#include "hw/hw_thermo.h"
#include "hw/thermo_map.h"
#include "hw/hw_thermo.h"
+#include "cfg/cfg_thermo.h"
+
#include <cfg/module.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
#include <cfg/module.h>
#include <cfg/macros.h>
#include <cfg/debug.h>
@@
-51,11
+53,6
@@
-/** Interval at which thermo control is performed. */
-#define THERMO_INTERVAL_MS 100
-
-/** Number of different samples we interpolate over to get the hifi temperature. */
-#define THERMO_HIFI_NUM_SAMPLES 10
/** Timer for thermo-regulation. */
static Timer thermo_timer;
/** Timer for thermo-regulation. */
static Timer thermo_timer;