diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-26 15:20:55 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-26 15:20:55 +0200 |
commit | 1913a240aab3a2ad72d477aa6fff840afdcad7a3 (patch) | |
tree | fb5e1493726ce6dddc3c812aa9730e4a856dabd3 /shared/consts.h | |
parent | 9c1f3dcc98b639e3bbcb6a8e199d8f1aa4bcc42a (diff) |
implement mode history
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 f9d4c11..25ca94f 100644 --- a/shared/consts.h +++ b/shared/consts.h @@ -17,3 +17,5 @@ #define W2_SERIAL_READ_BUFFER_SIZE (255) /** exponential moving average new measurement weight (double 0-1) */ #define W2_EMA_WEIGHT (0.10) +/** size of mode history buffer */ +#define W2_MODE_HISTORY_BUFFER_SIZE (4) |