summaryrefslogtreecommitdiff
path: root/shared/consts.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/consts.h')
-rw-r--r--shared/consts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/consts.h b/shared/consts.h
index 70efcac..f9d4c11 100644
--- a/shared/consts.h
+++ b/shared/consts.h
@@ -15,3 +15,5 @@
#define W2_SERCOMM_BUFFER_SIZE (16)
/** size of input (receive) buffer (in bytes) */
#define W2_SERIAL_READ_BUFFER_SIZE (255)
+/** exponential moving average new measurement weight (double 0-1) */
+#define W2_EMA_WEIGHT (0.10)