diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-07 14:43:03 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-07 14:43:03 +0100 |
commit | adb70d5ee1987cfb1680114d2db9786923aad1f1 (patch) | |
tree | a15de82808f40153cd285994cab7534ed9a10538 /shared/consts.h | |
parent | 46ede2c109fe2aa390936ec4f0a30321fb7b5d86 (diff) | |
parent | b083c8e08d610a4e74f39f66f3daa191301893b1 (diff) |
Merge branch 'qt-gui-meshconnector-serial' into dev
Diffstat (limited to 'shared/consts.h')
-rw-r--r-- | shared/consts.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shared/consts.h b/shared/consts.h index 6f70f09..57426bf 100644 --- a/shared/consts.h +++ b/shared/consts.h @@ -1 +1,11 @@ #pragma once + +/** @file consts.h */ + +/** @brief size of input (receive) buffer (in bytes) */ +#define CD_SERIAL_READ_BUFFER_SIZE 255 +/** @brief size of the error handling buffer (in errors, not bytes) */ +#define CD_ERROR_BUFFER_SIZE 16 +/** @brief size of the serial communication buffer (in messages, not bytes) */ +#define CD_SERCOMM_BUFFER_SIZE 16 + |