diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-23 13:40:17 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-23 13:40:17 +0200 |
commit | 92c394b44cc846ba044c2862b4f08eadc2160805 (patch) | |
tree | d065e8c58c7da82ec00ec5fe6ecbd091a3516442 /robot/sercomm.h | |
parent | 33540c7855d52343eb943d3a5144d6b736c234da (diff) |
WIP serial receive
Diffstat (limited to 'robot/sercomm.h')
-rw-r--r-- | robot/sercomm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/robot/sercomm.h b/robot/sercomm.h index dd17af8..f411374 100644 --- a/robot/sercomm.h +++ b/robot/sercomm.h @@ -44,6 +44,11 @@ extern uint8_t g_w2_sercomm_index; /** stores start of ring buffer */ extern uint8_t g_w2_sercomm_offset; +/** serial input (receive) buffer */ +extern char g_w2_serial_buffer[W2_SERIAL_READ_BUFFER_SIZE]; +/** serial input (receive) buffer current position */ +extern uint8_t g_w2_serial_buffer_index; + /** * serial pc-robot communication module * |