aboutsummaryrefslogtreecommitdiff
path: root/robot/consts.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-23 13:40:17 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-23 13:40:17 +0200
commit92c394b44cc846ba044c2862b4f08eadc2160805 (patch)
treed065e8c58c7da82ec00ec5fe6ecbd091a3516442 /robot/consts.h
parent33540c7855d52343eb943d3a5144d6b736c234da (diff)
WIP serial receive
Diffstat (limited to 'robot/consts.h')
-rw-r--r--robot/consts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/robot/consts.h b/robot/consts.h
index 94a161d..a8b8397 100644
--- a/robot/consts.h
+++ b/robot/consts.h
@@ -13,3 +13,6 @@
#define W2_ERROR_BUFFER_SIZE (16)
/** size of the serial communication buffer (in messages, not bytes) */
#define W2_SERCOMM_BUFFER_SIZE (16)
+/** size of input (receive) buffer (in bytes) */
+#define W2_SERIAL_READ_BUFFER_SIZE (255)
+