diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-26 12:42:34 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-26 12:42:34 +0200 |
commit | f353e78916a57fe21084fe34fd80c13ae4844d32 (patch) | |
tree | 392a8d6bfccad7beb70e253ad7c1786934d5657b /shared/consts.h | |
parent | 54b69efe150e1a102faafb4e214159c92abbb841 (diff) |
implement info command
Diffstat (limited to 'shared/consts.h')
-rw-r--r-- | shared/consts.h | 2 |
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) |