From 92c394b44cc846ba044c2862b4f08eadc2160805 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 23 May 2022 13:40:17 +0200 Subject: WIP serial receive --- robot/consts.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'robot/consts.h') 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) + -- cgit v1.2.3