From 74c9202e2a2347620cfe0459a2de060eebd7051b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 11 May 2022 13:22:59 +0200 Subject: [wip] error handling module --- robot/consts.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'robot/consts.h') 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) -- cgit v1.2.3