diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-11 13:22:59 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-11 13:22:59 +0200 |
commit | 74c9202e2a2347620cfe0459a2de060eebd7051b (patch) | |
tree | b5d5092b392f1ad4f4a1683b3932a3ed528cf170 /robot/consts.h | |
parent | 92f8dc33ab4517393f3b3db75715774d619585a8 (diff) |
[wip] error handling module
Diffstat (limited to 'robot/consts.h')
-rw-r--r-- | robot/consts.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/consts.h b/robot/consts.h index 1195422..fb67f26 100644 --- a/robot/consts.h +++ b/robot/consts.h @@ -1,12 +1,13 @@ #pragma once #ifndef W2_BUILD_STR -// should be defined with -DBUILD_STR in makefile +// is defined by CFLAGS += -DW2_BUILD_STR in makefile #define W2_BUILD_STR ("????????") #endif #define W2_MAX_MODULE_CYCLE_MS (20) #define W2_SERIAL_BAUD (9600) +#define W2_ERROR_BUFFER_SIZE (16) #define W2_ERR_TYPE_CRIT (0b00 << 6) #define W2_ERR_TYPE_WARN (0b01 << 6) |